-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
37 lines (25 loc) · 845 Bytes
/
build.gradle.kts
File metadata and controls
37 lines (25 loc) · 845 Bytes
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
plugins {
kotlin("jvm") version "1.9.22"
}
group = "net.perfect.tea.luaimageservice"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
val ktor_version = "2.3.7"
implementation("io.ktor:ktor-server-core-jvm:$ktor_version")
implementation("io.ktor:ktor-server-netty-jvm:$ktor_version")
implementation("io.ktor:ktor-serialization-kotlinx-json-jvm:$ktor_version")
// Usamos a 3.0.5 para o import "mu.KotlinLogging" funcionar
implementation("io.github.microutils:kotlin-logging-jvm:3.0.5")
implementation("io.ktor:ktor-server-content-negotiation:${ktor_version}")
implementation("io.ktor:ktor-serialization-kotlinx-json:${ktor_version}")
implementation("ch.qos.logback:logback-classic:1.4.14")
}
kotlin {
jvmToolchain(21)
}
tasks.test {
useJUnitPlatform()
}