-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
45 lines (33 loc) · 908 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
43
44
45
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.9.0"
// For my fat JAR needs
id("com.github.johnrengelman.shadow") version "8.1.1"
application
}
group = "jm"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation(platform("org.http4k:http4k-bom:5.4.0.0"))
implementation("org.http4k:http4k-core")
implementation("org.http4k:http4k-server-undertow")
implementation("org.http4k:http4k-client-apache")
implementation("org.http4k:http4k-format-jackson")
implementation("io.github.microutils:kotlin-logging:3.0.5")
implementation("ch.qos.logback:logback-classic:1.2.6")
testImplementation(kotlin("test"))
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(19))
}
}
tasks.test {
useJUnitPlatform()
}
application {
mainClass.set("MainKt")
}