2022-06-30 20:51:01 +03:00
|
|
|
plugins {
|
2024-01-19 22:25:26 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2022-07-03 16:46:09 +03:00
|
|
|
`maven-publish`
|
2022-06-30 20:51:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
val dataforgeVersion: String by rootProject.extra
|
2022-09-03 11:54:34 +03:00
|
|
|
val ktorVersion = space.kscience.gradle.KScienceVersions.ktorVersion
|
2022-06-30 20:51:01 +03:00
|
|
|
|
2023-03-13 16:24:50 +03:00
|
|
|
kscience{
|
2024-01-19 22:25:26 +03:00
|
|
|
jvm()
|
2023-03-13 16:24:50 +03:00
|
|
|
useContextReceivers()
|
2022-06-30 20:51:01 +03:00
|
|
|
|
2024-01-19 22:25:26 +03:00
|
|
|
jvmMain{
|
|
|
|
api(projects.snarkHtml)
|
2022-06-30 20:51:01 +03:00
|
|
|
|
2024-01-19 22:25:26 +03:00
|
|
|
api("io.ktor:ktor-server-core:$ktorVersion")
|
|
|
|
api("io.ktor:ktor-server-html-builder:$ktorVersion")
|
|
|
|
api("io.ktor:ktor-server-host-common:$ktorVersion")
|
|
|
|
}
|
|
|
|
jvmTest{
|
|
|
|
api("io.ktor:ktor-server-tests:$ktorVersion")
|
|
|
|
}
|
2022-06-30 20:51:01 +03:00
|
|
|
}
|