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