KSLog/mppJavaProject.gradle
2022-06-07 13:17:21 +04:00

35 lines
699 B
Groovy

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)
}
}