KotlinPublicationScriptsBui.../mppJavaProject.gradle

29 lines
660 B
Groovy
Raw Normal View History

2021-03-01 20:43:30 +00:00
project.version = "$version" + (System.getenv("additional_version") != null ? System.getenv("additional_version") : "")
2021-03-01 14:17:06 +00:00
project.group = "$group"
// apply from: "$publishGradlePath"
kotlin {
2022-11-10 17:48:59 +00:00
jvm()
2021-03-01 14:17:06 +00:00
sourceSets {
commonMain {
dependencies {
implementation kotlin('stdlib')
}
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
jvmTest {
dependencies {
implementation kotlin('test-junit')
}
}
}
}