Wizard: add resolutionStrategy for mpp library template

This commit is contained in:
Ilya Kirillov
2020-10-14 04:31:47 +03:00
parent f5d638eb8f
commit 42914b4046
9 changed files with 69 additions and 6 deletions
@@ -9,6 +9,7 @@ version = '1.0-SNAPSHOT'
repositories {
google()
jcenter()
mavenCentral()
maven { url 'KOTLIN_REPO' }
}
@@ -9,6 +9,7 @@ version = "1.0-SNAPSHOT"
repositories {
google()
jcenter()
mavenCentral()
maven { url = uri("KOTLIN_REPO") }
}
@@ -6,6 +6,12 @@ pluginManagement {
mavenCentral()
maven { url 'KOTLIN_REPO' }
}
resolutionStrategy {
eachPlugin {
if (requested.id.namespace == 'com.android' || requested.id.name == 'kotlin-android-extensions') {
useModule('com.android.tools.build:gradle:4.0.1')
}
}
}
}
rootProject.name = 'multiplatformMobileLibrary'
@@ -6,6 +6,12 @@ pluginManagement {
mavenCentral()
maven { url = uri("KOTLIN_REPO") }
}
resolutionStrategy {
eachPlugin {
if (requested.id.namespace == "com.android" || requested.id.name == "kotlin-android-extensions") {
useModule("com.android.tools.build:gradle:4.0.1")
}
}
}
}
rootProject.name = "multiplatformMobileLibrary"