Use project's kotlin compiler version and repo for the samples

This commit is contained in:
Pavel Punegov
2020-11-22 18:36:30 +03:00
committed by Stanislav Erokhin
parent f3a0debaf8
commit 4638988c2f
3 changed files with 29 additions and 1 deletions
+6
View File
@@ -3,6 +3,9 @@ buildscript {
mavenCentral()
maven("https://dl.bintray.com/kotlin/kotlin-dev")
maven("https://dl.bintray.com/kotlin/kotlin-eap")
val kotlinCompilerRepo: String? by rootProject
kotlinCompilerRepo?.let { maven(it) }
}
val kotlin_version: String by rootProject
@@ -16,6 +19,9 @@ allprojects {
mavenCentral()
maven("https://dl.bintray.com/kotlin/kotlin-dev")
maven("https://dl.bintray.com/kotlin/kotlin-eap")
val kotlinCompilerRepo: String? by rootProject
kotlinCompilerRepo?.let { maven(it) }
}
}
+3
View File
@@ -8,6 +8,9 @@ org.gradle.workers.max=4
# CHANGE_VERSION_WITH_RELEASE
kotlin_version=1.4.10
# Sets maven path for the kotlin version other than release
#kotlinCompilerRepo=
# Use custom Kotlin/Native home:
kotlin.native.home=../../dist