From 828afa28bb14efef98b51182a5f04808bcc6b723 Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Mon, 21 Dec 2020 10:23:07 +0100 Subject: [PATCH] [performance][build] use buildKotlinVersion --- kotlin-native/build-tools/settings.gradle.kts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kotlin-native/build-tools/settings.gradle.kts b/kotlin-native/build-tools/settings.gradle.kts index 65d17a5790f..66d6e1eedca 100644 --- a/kotlin-native/build-tools/settings.gradle.kts +++ b/kotlin-native/build-tools/settings.gradle.kts @@ -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") } } }