Cleanup and rework build logic (#3113)

This commit is contained in:
AntsyLich
2026-03-22 01:34:45 +06:00
committed by GitHub
parent 2366fbb4b3
commit 4af8f1eab0
65 changed files with 680 additions and 590 deletions
+8 -10
View File
@@ -1,25 +1,23 @@
pluginManagement {
resolutionStrategy {
eachPlugin {
val regex = "com.android.(library|application)".toRegex()
if (regex matches requested.id.id) {
useModule("com.android.tools.build:gradle:${requested.version}")
}
}
}
includeBuild("gradle/build-logic")
repositories {
gradlePluginPortal()
google()
mavenCentral()
gradlePluginPortal()
maven(url = "https://www.jitpack.io")
}
}
dependencyResolutionManagement {
versionCatalogs {
create("mihonx") {
from(files("gradle/mihon.versions.toml"))
}
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
google()
mavenCentral()
maven(url = "https://www.jitpack.io")
}
}