2020-04-26 02:30:14 +08:00
|
|
|
pluginManagement {
|
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
2022-03-04 22:58:31 +08:00
|
|
|
val regex = "com.android.(library|application)".toRegex()
|
|
|
|
if (regex matches requested.id.id) {
|
2020-04-26 02:30:14 +08:00
|
|
|
useModule("com.android.tools.build:gradle:${requested.version}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
2022-11-26 21:11:15 +08:00
|
|
|
maven(url = "https://www.jitpack.io")
|
2020-04-26 02:30:14 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-04 22:58:31 +08:00
|
|
|
dependencyResolutionManagement {
|
|
|
|
versionCatalogs {
|
|
|
|
create("kotlinx") {
|
|
|
|
from(files("gradle/kotlinx.versions.toml"))
|
|
|
|
}
|
|
|
|
create("androidx") {
|
|
|
|
from(files("gradle/androidx.versions.toml"))
|
|
|
|
}
|
2022-04-23 05:29:24 +08:00
|
|
|
create("compose") {
|
|
|
|
from(files("gradle/compose.versions.toml"))
|
|
|
|
}
|
2022-03-04 22:58:31 +08:00
|
|
|
}
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
google()
|
|
|
|
maven(url = "https://www.jitpack.io")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-04 02:43:43 +08:00
|
|
|
rootProject.name = "Tachiyomi"
|
2020-01-29 11:48:02 +08:00
|
|
|
include(":app")
|
2022-09-10 21:58:45 +08:00
|
|
|
include(":i18n")
|
2022-09-16 06:12:27 +08:00
|
|
|
include(":source-api")
|
|
|
|
include(":core")
|
2022-10-04 21:22:55 +08:00
|
|
|
include(":macrobenchmark")
|
2023-01-21 23:37:07 +08:00
|
|
|
include(":data")
|
2023-01-22 23:12:29 +08:00
|
|
|
include(":domain")
|
2023-01-27 06:53:24 +08:00
|
|
|
include(":presentation-widget")
|
|
|
|
include(":presentation-core")
|
2023-02-27 05:16:49 +08:00
|
|
|
include(":source-local")
|
|
|
|
include(":core-metadata")
|