Revert "Remove obsolete kotlin.build.useIR flag"

This reverts commit 91e47f1fd7.
This commit is contained in:
Alexander Udalov
2021-05-28 19:52:57 +02:00
parent 67d48d0150
commit e0cc6d44a7
4 changed files with 17 additions and 2 deletions
+9
View File
@@ -120,6 +120,15 @@ allprojects {
}
}
if (findProperty("kotlin.build.useIR") == "true") {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
useIR = true
freeCompilerArgs += ["-Xir-binary-with-stable-abi"]
}
}
}
setupHostAndTarget()
loadCommandLineProperties()
loadLocalProperties()
+3 -1
View File
@@ -34,4 +34,6 @@ ktorVersion=1.2.1
shadowVersion=5.1.0
metadataVersion=0.0.1-dev-10
kotlinNativeVersionInResources=true
# Uncomment to compile Kotlin/Native backend modules with JVM IR backend.
# kotlin.build.useIR=true
kotlinNativeVersionInResources=true