KSLog/mppJavaProject.gradle

35 lines
699 B
Groovy
Raw Normal View History

2022-06-07 09:17:21 +00:00
project.version = "$version"
project.group = "$group"
// apply from: "$publishGradlePath"
kotlin {
jvm()
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 {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}