Files
SilentDragonXAndroid/build-convention/settings.gradle.kts
fekt 4adbc901a0 Initial commit
This initial commit includes HUSH specific changes starting at this commit:
d14637012c
2022-11-29 20:49:44 -05:00

32 lines
1.1 KiB
Kotlin

@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositories {
val isRepoRestrictionEnabled = true
google {
if (isRepoRestrictionEnabled) {
content {
includeGroup("androidx.navigation")
includeGroup("com.android.tools")
includeGroup("com.google.testing.platform")
includeGroupByRegex("androidx.*")
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.android\\.tools.*")
}
}
}
mavenCentral {
if (isRepoRestrictionEnabled) {
content {
excludeGroup("androidx.navigation")
excludeGroup("com.android.tools")
excludeGroup("com.google.testing.platform")
excludeGroupByRegex("androidx.*")
excludeGroupByRegex("com\\.android.*")
excludeGroupByRegex("com\\.android\\.tools.*")
}
}
}
}
}