diff --git a/settings.gradle.kts b/settings.gradle.kts index 75f71c80..dc8f42d3 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -16,7 +16,13 @@ pluginManagement { repositories { - google() + google { + content { + includeGroupByRegex("com\\.android.*") + includeGroupByRegex("com\\.google.*") + includeGroupByRegex("androidx.*") + } + } mavenCentral() gradlePluginPortal() } @@ -28,8 +34,17 @@ dependencyResolutionManagement { repositories { maven { setUrl("https://androidx.dev/snapshots/builds/11723120/artifacts/repository") + content { + includeGroupByRegex("androidx.*") + } + } + google { + content { + includeGroupByRegex("com\\.android.*") + includeGroupByRegex("com\\.google.*") + includeGroupByRegex("androidx.*") + } } - google() mavenCentral() } }