-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
43 lines (33 loc) · 1.02 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version '2.0'
apply plugin: 'java'
apply plugin: 'maven'
group = 'com.github.wdavies973'
sourceCompatibility = 1.12
targetCompatibility = 1.12
repositories {
mavenCentral()
jcenter()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation 'net.dv8tion:JDA:4.2.0_204'
implementation 'com.google.cloud:google-cloud-speech:1.22.6'
implementation 'com.google.cloud:google-cloud-texttospeech:1.0.2'
}
// download porcupine if it doesn't already exist
// compile the java class
// compile the porcupine library with it
buildscript {
repositories {
mavenCentral()
}
}
// If you want to run from the Example from the command line
task execute(type: JavaExec) {
main = "example.ExampleBot"
environment "LD_LIBRARY_PATH", "native/linux"
// environment "LD_DEBUG", "libs"
// systemProperty "java.library.path", "$project.rootDir/wake-engine/jni"
classpath = sourceSets.main.runtimeClasspath
}