-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
42 lines (36 loc) · 975 Bytes
/
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.jetbrains.kotlin.jvm").version("1.3.21")
id("com.github.johnrengelman.shadow").version("4.0.2")
application
}
repositories {
jcenter()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("com.beust:klaxon:5.0.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0-M1")
compile("com.carrotsearch:hppc:0.8.1")
compile("com.google.guava:guava:28.0-jre")
testCompile("org.jetbrains.kotlin:kotlin-test-junit")
}
tasks {
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
application {
mainClassName = "io.github.lambdallama.MainKt"
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
freeCompilerArgs = listOf("-XXLanguage:+InlineClasses")
}