KotlinMultiplatformProjectT.../mppJavaProject.gradle

37 lines
712 B
Groovy
Raw Normal View History

2021-03-02 09:28:38 +00:00
project.version = "$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')
}
}
}
}
2021-09-23 07:20:20 +00:00
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}