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-11-26 16:11:15 +03:00
|
|
|
maven(url = "https://www.jitpack.io")
|
2020-04-25 21:30:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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")
|
2023-05-21 15:52:06 +03:00
|
|
|
include(":data")
|
2023-05-23 23:37:41 +03:00
|
|
|
include(":domain")
|
2023-05-24 21:13:36 +03:00
|
|
|
include(":presentation-widget")
|
|
|
|
include(":presentation-core")
|
2023-06-06 13:55:36 +03:00
|
|
|
include(":source-local")
|
|
|
|
include(":core-metadata")
|