renames of gradle scripts and using of IR in JVM

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

View File

@ -13,11 +13,11 @@ allprojects {
projectByName(name) projectByName(name)
} }
mppProjectWithSerializationPresetPath = "${rootProject.projectDir.absolutePath}/mppProjectWithSerialization" mppProjectWithSerializationPresetPath = "${rootProject.projectDir.absolutePath}/mppProjectWithSerialization.gradle"
mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject" mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject.gradle"
mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject" mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject.gradle"
defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings" defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings.gradle"
// publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle" // publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle"
} }

View File

@ -4,7 +4,9 @@ project.group = "$group"
// apply from: "$publishGradlePath" // apply from: "$publishGradlePath"
kotlin { kotlin {
jvm() jvm {
compilations.main.kotlinOptions.useIR = true
}
sourceSets { sourceSets {
commonMain { commonMain {

View File

@ -4,7 +4,9 @@ project.group = "$group"
// apply from: "$publishGradlePath" // apply from: "$publishGradlePath"
kotlin { kotlin {
jvm() jvm {
compilations.main.kotlinOptions.useIR = true
}
js (BOTH) { js (BOTH) {
browser() browser()
nodejs() nodejs()