-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·64 lines (55 loc) · 1.54 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
61
62
63
64
group 'com.uadaf'
version '1.0'
buildscript {
ext.kotlin_version = '1.2.51'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
repositories {
jcenter()
mavenCentral()
maven { url 'https://dl.bintray.com/jagrosh/maven/' }
maven { url 'http://52.48.142.75/maven'}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
task builddep(type: Jar, dependsOn: classes) {
baseName = "TMBot"
manifest {
attributes 'Main-Class': 'com.uadaf.uadab.UADAB'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.22.5"
compile 'com.jagrosh:jda-utilities:2.1'
compile 'net.dv8tion:JDA:3.5.1_352'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.sedmelluq:lavaplayer:1.2.56'
compile 'com.uadaf:uadamlib:1.4.1'
compile 'org.slf4j:slf4j-simple:1.7.25'
compile 'com.sparkjava:spark-core:2.5.5'
compile 'de.codecentric.centerdevice:javafxsvg:1.3.0'
compile 'mysql:mysql-connector-java:5.1.13'
compile 'khttp:khttp:0.1.0'
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
kotlin {
experimental {
coroutines 'enable'
}
}