visionforge/demo/sat-demo/build.gradle.kts

32 lines
585 B
Plaintext
Raw Normal View History

2023-12-18 09:41:05 +03:00
import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode
2020-11-07 17:32:18 +03:00
plugins {
2023-12-12 09:17:14 +03:00
id("space.kscience.gradle.mpp")
alias(spclibs.plugins.ktor)
2020-12-06 19:16:48 +03:00
application
2020-11-07 17:32:18 +03:00
}
2020-12-06 19:16:48 +03:00
2020-12-12 21:19:41 +03:00
kscience {
2021-02-16 14:49:15 +03:00
// useSerialization {
// json()
// }
2023-12-24 19:45:05 +03:00
jvm{
withJava()
}
2023-12-12 09:17:14 +03:00
jvmMain{
2023-07-19 22:25:32 +03:00
implementation("io.ktor:ktor-server-cio")
2023-05-14 18:33:30 +03:00
implementation(projects.visionforgeThreejs.visionforgeThreejsServer)
2023-07-19 22:25:32 +03:00
implementation(spclibs.logback.classic)
2023-05-14 18:33:30 +03:00
}
2020-11-07 17:32:18 +03:00
}
2023-07-19 22:25:32 +03:00
group = "center.sciprog"
2020-12-06 19:16:48 +03:00
2023-12-18 09:41:05 +03:00
kotlin.explicitApi = ExplicitApiMode.Disabled
2020-12-06 19:16:48 +03:00
application {
2021-06-05 22:31:16 +03:00
mainClass.set("ru.mipt.npm.sat.SatServerKt")
2020-12-06 19:16:48 +03:00
}