renames of gradle scripts and using of IR in JVM

This commit is contained in:
2021-02-14 21:33:20 +06:00
parent 171b4f89f9
commit 9efab1d1dc
5 changed files with 10 additions and 6 deletions

30
mppJavaProject.gradle Normal file
View File

@@ -0,0 +1,30 @@
project.version = "$version"
project.group = "$group"
// apply from: "$publishGradlePath"
kotlin {
jvm {
compilations.main.kotlinOptions.useIR = true
}
sourceSets {
commonMain {
dependencies {
implementation kotlin('stdlib')
}
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
jvmTest {
dependencies {
implementation kotlin('test-junit')
}
}
}
}