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:
committed by
Vasily Levchenko
parent
53022fac12
commit
6ad7f6f08d
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user