mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-21 20:27:06 +03:00
3599a38ad6
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
52 lines
1.3 KiB
Text
52 lines
1.3 KiB
Text
pluginManagement {
|
|
resolutionStrategy {
|
|
eachPlugin {
|
|
val regex = "com.android.(library|application)".toRegex()
|
|
if (regex matches requested.id.id) {
|
|
useModule("com.android.tools.build:gradle:${requested.version}")
|
|
}
|
|
}
|
|
}
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
maven(url = "https://www.jitpack.io")
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
versionCatalogs {
|
|
create("kotlinx") {
|
|
from(files("gradle/kotlinx.versions.toml"))
|
|
}
|
|
create("androidx") {
|
|
from(files("gradle/androidx.versions.toml"))
|
|
}
|
|
create("compose") {
|
|
from(files("gradle/compose.versions.toml"))
|
|
}
|
|
}
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
maven(url = "https://www.jitpack.io")
|
|
}
|
|
}
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
rootProject.name = "Aniyomi"
|
|
include(":app")
|
|
include(":core-metadata")
|
|
include(":core:archive")
|
|
include(":core:common")
|
|
include(":data")
|
|
include(":domain")
|
|
include(":i18n")
|
|
include(":macrobenchmark")
|
|
include(":presentation-core")
|
|
include(":presentation-widget")
|
|
include(":source-api")
|
|
include(":source-local")
|