[performance][build] use buildKotlinVersion

This commit is contained in:
Vasily Levchenko
2020-12-21 10:23:07 +01:00
committed by Stanislav Erokhin
parent 6ed224fb36
commit 828afa28bb
@@ -3,11 +3,13 @@ pluginManagement {
rootDir.resolve("../gradle.properties").reader().use(::load)
}
val buildKotlinCompilerRepo: String by rootProperties
val kotlinCompilerRepo: String by rootProperties
val kotlinVersion by rootProperties
val buildKotlinVersion by rootProperties
repositories {
maven(kotlinCompilerRepo)
maven(buildKotlinCompilerRepo)
maven("https://cache-redirector.jetbrains.com/maven-central")
mavenCentral()
}
@@ -15,7 +17,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id == "kotlin") {
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:$buildKotlinVersion")
}
}
}