migrate onto new templates-oriented in gradle model

This commit is contained in:
InsanusMokrassar committed 2024-11-11 16:49:11 +06:00
1 parent 6dced2d86e
commit 896028d0bb
11 files changed
+33 -26

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
project.version = "$version"
project.group = "$group"
// apply from: "$publishGradlePath"
kotlin {
jvm {
compilations.main {
kotlinOptions {
jvmTarget = "17"
}
}
}
sourceSets {
commonMain {
dependencies {
implementation libs.kotlin
api libs.kotlin.serialization
}
}
commonTest {
dependencies {
implementation libs.kotlin.test.common
implementation libs.kotlin.test.annotations.common
}
}
jvmTest {
dependencies {
implementation libs.kotlin.test.junit
}
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}