mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 19:55:11 +01:00
7d5fa5a603
updated gradle to 6.1.1 update android gradle to 4.0 add buildSrc to use kotlin for versions didnt convert them all
26 lines
884 B
Plaintext
26 lines
884 B
Plaintext
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")
|