forked from EndlessSkyCommunity/EndlessSky-Discord-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (49 loc) · 1.09 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apply plugin: 'java'
apply plugin: 'application'
mainClassName = 'bot.ESBotMain'
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext.logbackVersion = '1.1.8'
repositories {
jcenter()
maven {
url "http://repo.bastian-oppermann.de"
}
}
dependencies {
compile 'com.sedmelluq:lavaplayer:1.2.44'
compile 'net.dv8tion:JDA:3.3.1_291'
compile 'de.btobastian.sdcf4j:sdcf4j-core:1.0.6'
compile 'de.btobastian.sdcf4j:sdcf4j-jda3:1.0.6'
compile 'junit:junit:4.12'
runtime "ch.qos.logback:logback-classic:$logbackVersion"
runtime "ch.qos.logback:logback-core:$logbackVersion"
compile 'com.squareup.okhttp3:okhttp:3.9.0'
}
task writeVersion(type: Exec) {
executable "bash"
args "./scripts/version_logger.sh"
}
task writeBranch(type: Exec) {
executable "bash"
args "./scripts/branch_writer.sh"
}
task updateData(type: Exec) {
executable "python"
args "./scripts/updateFileNames.py"
}
run.dependsOn {
tasks.withType(Exec)
}
test {
}
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
}
}
}
run {
standardInput = System.in
}