Specify bootstrap version with gradle props instead of system props

Make bootstrap dependency version explicit
This commit is contained in:
Ilya Gorbunov
2017-10-02 07:15:39 +03:00
parent b7d21ab4da
commit 5483de276e
3 changed files with 7 additions and 12 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
buildscript {
val repos = listOfNotNull(
System.getProperty("bootstrap.kotlin.repo"),
property("bootstrap.kotlin.repo") as String,
"https://repo.gradle.org/gradle/repo",
"https://plugins.gradle.org/m2",
"http://repository.jetbrains.com/utils/")
@@ -26,7 +26,7 @@ buildscript {
dependencies {
classpath("com.gradle.publish:plugin-publish-plugin:0.9.7")
classpath(kotlinDep("gradle-plugin"))
classpath(kotlinDep("gradle-plugin", bootstrapKotlinVersion))
}
}
@@ -70,7 +70,7 @@ repositories {
}
dependencies {
bootstrapCompileCfg(kotlinDep("compiler-embeddable"))
bootstrapCompileCfg(kotlinDep("compiler-embeddable", bootstrapKotlinVersion))
}
val commonBuildDir = File(rootDir, "build")