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:
@@ -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"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user