Remove 'noStdlib' from Gradle options

^KT-49011 Fixed
This commit is contained in:
Yahor Berdnikau
2022-01-28 15:59:33 +01:00
parent 57c342fec8
commit 52a21a4e1a
5 changed files with 9 additions and 21 deletions
@@ -256,6 +256,12 @@ private fun Printer.generateImpl(
for (property in properties) {
println("${property.name} = ${property.gradleDefaultValue}")
}
// Adding required 'noStdlib' and 'noReflect' compiler arguments for JVM compilation
// Otherwise compilation via build tools will fail
if (type.shortName().toString() == "KotlinJvmOptionsBase") {
println("noStdlib = true")
println("noReflect = true")
}
}
println("}")
}