diff --git a/settings.gradle b/settings.gradle index 1b76791c7..c175391ee 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,6 +1,11 @@ pluginManagement { repositories { - google() + google { + content { + includeGroupByRegex(".*google.*") + includeGroupByRegex(".*android.*") + } + } gradlePluginPortal() } } @@ -8,7 +13,12 @@ pluginManagement { dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { - google() + google { + content { + includeGroupByRegex(".*google.*") + includeGroupByRegex(".*android.*") + } + } mavenCentral() maven { url 'https://jitpack.io' } }