7d5fa5a603
updated gradle to 6.1.1 update android gradle to 4.0 add buildSrc to use kotlin for versions didnt convert them all
25 lines
884 B
Text
25 lines
884 B
Text
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
jcenter()
|
|
google()
|
|
}
|
|
resolutionStrategy {
|
|
eachPlugin {
|
|
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}")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
include(":app")
|