-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (35 loc) · 966 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
plugins {
kotlin("multiplatform") version "1.9.20"
kotlin("plugin.serialization") version "1.9.20"
}
group = "dev.bcmedeiros"
version = "1.0-SNAPSHOT"
kotlin {
val platforms = listOf(
macosArm64 {
},
macosX64 {
},
linuxX64 {
},
)
platforms.forEach { p ->
p.binaries {
executable {
entryPoint = "main"
}
}
}
sourceSets {
val ktorVersion = "2.3.5"
commonMain {
dependencies {
implementation("io.ktor:ktor-server-core:$ktorVersion")
implementation("io.ktor:ktor-server-cio:$ktorVersion")
implementation("io.ktor:ktor-server-content-negotiation:$ktorVersion")
implementation("io.ktor:ktor-server-sessions:$ktorVersion")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
}
}
}
}