Cleanup and rework build logic (#3113)
This commit is contained in:
+8
-10
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user