KotlinMultiplatformProjectT.../mppJavaProject.gradle

31 lines
666 B
Groovy
Raw Normal View History

2021-02-28 18:43:56 +00:00
project.version = "$version" + System.getenv("additional_version")
2020-12-02 15:50:52 +00:00
project.group = "$group"
// apply from: "$publishGradlePath"
kotlin {
jvm {
compilations.main.kotlinOptions.useIR = true
}
2020-12-02 15:50:52 +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')
}
}
}
}