Advance buildKotlinVersion to 1.4.0-dev-9619

Use it to build shared tools.
Earlier, kotlinVersion was used, which caused shared and main project
being built with different versions of the compiler.

(cherry picked from commit d4ffca9800b40256cf9d505911ca8c8f7acadc4d)
This commit is contained in:
Ilya Gorbunov
2020-06-02 05:26:56 +03:00
committed by Vasily Levchenko
parent 53022fac12
commit 6ad7f6f08d
+4 -4
View File
@@ -3,18 +3,18 @@ pluginManagement {
rootDir.resolve("../gradle.properties").reader().use(::load)
}
val kotlinCompilerRepo: String by rootProperties
val kotlinVersion: String by rootProperties
val buildKotlinCompilerRepo: String by rootProperties
val buildKotlinVersion: String by rootProperties
repositories {
maven(kotlinCompilerRepo)
maven(buildKotlinCompilerRepo)
maven("https://cache-redirector.jetbrains.com/maven-central")
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "kotlin") {
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:$buildKotlinVersion")
}
}
}