diff --git a/settings.gradle.kts b/settings.gradle.kts index c6786f5..3616e14 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,7 +1,15 @@ +@file:Suppress("UnstableApiUsage") + pluginManagement { repositories { gradlePluginPortal() - google() + google { + mavenContent { + includeGroupAndSubgroups("androidx") + includeGroupAndSubgroups("com.android") + includeGroupAndSubgroups("com.google") + } + } } plugins { @@ -12,10 +20,15 @@ pluginManagement { } dependencyResolutionManagement { - @Suppress("UnstableApiUsage") repositories { mavenCentral() - google() + google { + mavenContent { + includeGroupAndSubgroups("androidx") + includeGroupAndSubgroups("com.android") + includeGroupAndSubgroups("com.google") + } + } } }