c4178daf48
(cherry picked from commit ec4ac192a822949af55264157cf6f03d0c4f0c20)
22 lines
632 B
Kotlin
22 lines
632 B
Kotlin
pluginManagement {
|
|
val kotlin_version: String by settings
|
|
resolutionStrategy {
|
|
eachPlugin {
|
|
if (requested.id.id == "org.jetbrains.kotlin.multiplatform") {
|
|
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
|
|
}
|
|
if (requested.id.id == "com.android.application") {
|
|
useModule("com.android.tools.build:gradle:${requested.version}")
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
jcenter()
|
|
mavenCentral()
|
|
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
|
}
|
|
}
|