Add some -X flags for compatibility to kotlin-reflect build

"-Xno-kotlin-nothing-value-exception" is needed to temporarily prevent
the problem happening in the composite build with Kotlin/Native
(ClassNotFoundException from KClassImpl.Data).
"-Xno-optimized-callable-references" is added just in case of any
similar problem.
This commit is contained in:
Alexander Udalov
2020-04-17 13:55:23 +02:00
parent a6064ecda6
commit 72c52d37ae
+2
View File
@@ -45,6 +45,8 @@ compileKotlin {
freeCompilerArgs = ["-version",
"-Xallow-kotlin-package",
"-Xnormalize-constructor-calls=enable",
"-Xno-optimized-callable-references",
"-Xno-kotlin-nothing-value-exception",
"-module-name", "kotlin-reflection"]
}
}