-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
50 lines (43 loc) · 1.3 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
plugins {
id("java")
id("application")
id("org.jetbrains.kotlin.jvm")
id("org.jetbrains.kotlin.plugin.serialization")
id("com.github.johnrengelman.shadow")
}
application {
mainClass.set("zkr.Zkr")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation("org.jetbrains.kotlin:kotlin-stdlib")
implementation(libs.zookeeper)
implementation(libs.bundles.aws.sdk)
implementation(libs.kotlinx.coroutines)
implementation(libs.bundles.serialization)
implementation(libs.bundles.logging)
implementation(libs.micrometer.jmx)
implementation(libs.picocli)
implementation("com.fasterxml.jackson.core:jackson-core:2.12.7")
implementation("com.google.guava:guava:30.0-jre")
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.freeCompilerArgs += arrayOf("-opt-in=kotlin.RequiresOptIn")
}
testing {
suites {
named("test", JvmTestSuite::class) {
useJUnitJupiter()
dependencies {
implementation(libs.curator.test)
implementation(libs.kotest.assertions)
implementation(libs.kotlinx.coroutines.test)
}
}
}
}