-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
46 lines (36 loc) · 1.11 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
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.ktor)
alias(libs.plugins.serialization)
}
group = "com.escodro"
version = "0.0.1"
application {
mainClass.set("io.ktor.server.netty.EngineMain")
val isDevelopment: Boolean = project.ext.has("development")
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
}
ktor {
fatJar {
archiveFileName.set("savel-docker.jar")
}
}
repositories {
mavenCentral()
}
dependencies {
implementation(libs.ktor.server.core)
implementation(libs.ktor.server.netty)
implementation(libs.ktor.server.negotiation)
implementation(libs.ktor.server.config.yaml)
implementation(libs.ktor.server.status.pages)
implementation(libs.ktor.client.core)
implementation(libs.ktor.client.cio)
implementation(libs.ktor.client.logging)
implementation(libs.ktor.client.negotiation)
implementation(libs.ktor.serialization)
implementation(libs.logback.classic)
implementation(libs.koin.ktor)
testImplementation(libs.ktor.server.test.host)
testImplementation(libs.kotlin.test.junit)
}