Skip to content

Commit

Permalink
Add some -X flags for compatibility to kotlin-reflect build
Browse files Browse the repository at this point in the history
"-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.
  • Loading branch information
udalov committed Apr 17, 2020
1 parent a6064ec commit 72c52d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/reflect/api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
Expand Down

0 comments on commit 72c52d3

Please sign in to comment.