2020-04-25 20:30:14 +02:00
|
|
|
pluginManagement {
|
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
2022-03-04 15:58:31 +01:00
|
|
|
val regex = "com.android.(library|application)".toRegex()
|
|
|
|
if (regex matches requested.id.id) {
|
2020-04-25 20:30:14 +02:00
|
|
|
useModule("com.android.tools.build:gradle:${requested.version}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-04 15:58:31 +01:00
|
|
|
dependencyResolutionManagement {
|
|
|
|
versionCatalogs {
|
|
|
|
create("kotlinx") {
|
|
|
|
from(files("gradle/kotlinx.versions.toml"))
|
|
|
|
}
|
|
|
|
create("androidx") {
|
|
|
|
from(files("gradle/androidx.versions.toml"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
google()
|
|
|
|
maven(url = "https://www.jitpack.io")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-03 20:43:43 +02:00
|
|
|
rootProject.name = "Tachiyomi"
|
2020-01-29 04:48:02 +01:00
|
|
|
include(":app")
|