mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05:00
37 lines
911 B
Text
37 lines
911 B
Text
enableFeaturePreview("VERSION_CATALOGS")
|
|
|
|
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"))
|
|
}
|
|
}
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
maven(url = "https://www.jitpack.io")
|
|
}
|
|
}
|
|
|
|
rootProject.name = "Tachiyomi"
|
|
include(":app")
|