tachiyomi/settings.gradle.kts
Andreas 86fe850794
Extract source api from app module (#8014)
* Extract source api from app module

* Extract source online api from app module
2022-09-15 18:12:27 -04:00

42 lines
1020 B
Plaintext

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()
}
}
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")
}
}
rootProject.name = "Tachiyomi"
include(":app")
include(":i18n")
include(":source-api")
include(":core")