[#1354] Repository restriction regex

- Closes #1354
- The repository regex changed to align with audit findings and still be able to cover both
com.android:signflinger:[version] and com.android.tools:common:[version]
This commit is contained in:
Honza Rychnovský 2024-04-18 08:10:28 +02:00 committed by GitHub
parent afd47e513e
commit 81508f6466
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 8 deletions

View File

@ -6,13 +6,12 @@ pluginManagement {
val googleGroups = listOf( val googleGroups = listOf(
"androidx.navigation", "androidx.navigation",
"com.android.tools", "com.android",
"com.google.testing.platform" "com.google.testing.platform"
) )
val googleRegexes = listOf( val googleRegexes = listOf(
"androidx.*", "androidx\\..*",
"com\\.android.*", "com\\.android(\\.|\\:).*"
"com\\.android\\.tools.*"
) )
val wtfGroups = listOf("wtf.emulator") val wtfGroups = listOf("wtf.emulator")
@ -80,7 +79,7 @@ dependencyResolutionManagement {
val googleGroups = listOf( val googleGroups = listOf(
"androidx.benchmark", "androidx.benchmark",
"androidx.navigation", "androidx.navigation",
"com.android.tools", "com.android",
"com.google.android.datatransport", "com.google.android.datatransport",
"com.google.android.gms", "com.google.android.gms",
"com.google.android.material", "com.google.android.material",
@ -90,9 +89,8 @@ dependencyResolutionManagement {
"com.google.android.apps.common.testing.accessibility.framework" "com.google.android.apps.common.testing.accessibility.framework"
) )
val googleRegexes = listOf( val googleRegexes = listOf(
"androidx.*", "androidx\\..*",
"com\\.android.*", "com\\.android(\\.|\\:).*",
"com\\.android\\.tools.*"
) )
val wtfGroups = listOf("wtf.emulator") val wtfGroups = listOf("wtf.emulator")