2020-03-07 13:08:50 +01:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
|
|
|
jcenter()
|
|
|
|
google()
|
|
|
|
}
|
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
2020-05-31 02:30:53 +02:00
|
|
|
if (requested.id.id == "com.android.library") {
|
|
|
|
useModule("com.android.tools.build:gradle:${requested.version}")
|
|
|
|
}
|
|
|
|
else if (requested.id.id == "com.android.application") {
|
|
|
|
useModule("com.android.tools.build:gradle:${requested.version}")
|
|
|
|
}
|
|
|
|
else if (requested.id.id.equals("com.google.gms.google-services")) {
|
|
|
|
useModule("com.google.gms:google-services:${requested.version}")
|
|
|
|
}
|
|
|
|
else if (requested.id.id.equals("com.google.android.gms.oss-licenses-plugin")) {
|
|
|
|
useModule("com.google.android.gms:oss-licenses-plugin:${requested.version}")
|
2020-03-07 13:08:50 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
include(":app")
|