-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
56 lines (49 loc) · 1.79 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.3.71"
id("com.github.johnrengelman.shadow") version "4.0.4"
}
group = "com.gt22"
version = "2.4"
repositories {
mavenCentral()
jcenter()
maven { url = uri("http://52.48.142.75/maven") }
maven { url = uri("https://jitpack.io") }
maven { url = uri("https://dl.bintray.com/kotlin/ktor") }
}
val jdaVersion = "3.8.3_462"
val gsonVersion = "2.8.6"
val ktorVersion = "1.2.6"
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.3.8")
implementation("net.dv8tion:JDA:$jdaVersion")
implementation("com.google.code.gson:gson:$gsonVersion")
implementation("org.slf4j:slf4j-simple:1.7.30")
implementation("de.codecentric.centerdevice:javafxsvg:1.3.0")
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-apache:$ktorVersion")
implementation("org.jetbrains.exposed:exposed:0.17.7")
implementation("mysql:mysql-connector-java:8.0.21")
implementation("com.github.kizitonwose.time:time:1.0.4")
implementation("com.uadaf:uadamusic:2.5.1")
implementation("com.uadaf:quoter-api:1.3.1")
implementation("com.sedmelluq:lavaplayer:1.3.47")
implementation("pl.droidsonroids:jspoon:1.3.2")
testImplementation("junit:junit:4.12")
}
val jar by tasks.getting(Jar::class) {
manifest {
attributes["Main-Class"] = "UADAB"
}
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
languageVersion = "1.3"
freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
}