Build: replace usages of kotlin.build.useIR with kotlinBuildProperties.useIR

This commit is contained in:
Dmitriy Novozhilov
2020-11-17 14:58:35 +03:00
parent c625a83ab5
commit 986bdd1099
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ ext.configureLegacyPublishing = { Project project ->
ext.configureJvmIrBackend = { Project project ->
project.tasks.withType(KotlinCompile.class) { task ->
task.kotlinOptions {
if (CommonUtilKt.getBooleanProperty(project, "kotlin.build.useIRForLibraries")) {
if (project.kotlinBuildProperties.useIRForLibraries) {
useIR = true
freeCompilerArgs += ["-Xir-binary-with-stable-abi"]
} else {