-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
61 lines (48 loc) · 1.83 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
57
58
59
60
61
plugins {
kotlin("jvm") version "1.8.10"
application
}
repositories {
mavenLocal()
mavenCentral()
}
tasks {
java { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } }
withType<Test> {
useJUnitPlatform()
}
}
application {
mainClass.set("chaperone.AppKt")
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.8.0")
implementation("ch.qos.logback:logback-classic:1.4.14")
implementation("net.logstash.logback:logstash-logback-encoder:7.4") {
exclude(group = "com.fasterxml.jackson.core")
}
implementation("io.github.microutils:kotlin-logging-jvm:3.0.5")
implementation("org.slf4j:slf4j-api:2.0.9")
// cli parsing
implementation("com.github.ajalt.clikt:clikt:4.2.2")
// config
implementation("com.uchuhimo:konf-toml:1.1.2")
// cron scheduling
implementation("com.cronutils:cron-utils:9.2.1")
// api
val http4kVersion = "5.14.0.0"
implementation("org.http4k:http4k-core:$http4kVersion")
implementation("org.http4k:http4k-server-undertow:$http4kVersion")
implementation("org.http4k:http4k-client-okhttp:$http4kVersion")
// command execution management
implementation("org.zeroturnaround:zt-exec:1.12")
val jacksonVersion = "2.16.2"
api("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
api("com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion")
api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion")
api("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$jacksonVersion")
testImplementation(kotlin("test-junit5"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.2")
testImplementation("io.kotest:kotest-assertions-core:5.8.1")
}