Build: got rid of useBootstrapStdlib flag (replaced with jpsBuild flag)

This commit is contained in:
Sergey Rostov
2019-01-23 15:35:09 +03:00
parent 82e56f9cdd
commit ca47247e5d
7 changed files with 8 additions and 30 deletions
+1 -3
View File
@@ -58,9 +58,7 @@ fun Project.ideaUltimatePreloadedDeps(vararg artifactBaseNames: String, subdir:
fun Project.kotlinDep(artifactBaseName: String, version: String): String = "org.jetbrains.kotlin:kotlin-$artifactBaseName:$version"
val Project.useBootstrapStdlib: Boolean get() =
findProperty("useBootstrapStdlib")?.let { it.toString() != "false" }
?: findProperty("jpsBuild")?.let { it.toString() == "true" }
?: false
findProperty("jpsBuild")?.toString() == "true"
fun Project.kotlinStdlib(suffix: String? = null): Any {
return if (useBootstrapStdlib)