From e58151e97117aa1f344d355086edd62f89744e7c Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 8 Jan 2024 23:24:09 +0530 Subject: fix(build): tweak repository settings --- settings.gradle.kts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'settings.gradle.kts') diff --git a/settings.gradle.kts b/settings.gradle.kts index 8f471d78..21d3554a 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -35,7 +35,7 @@ pluginManagement { forRepository { maven("https://storage.googleapis.com/r8-releases/raw") } filter { includeModule("com.android.tools", "r8") } } - mavenCentral() + mavenCentral { mavenContent { releasesOnly() } } } } @@ -56,9 +56,8 @@ gradleEnterprise { dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { - exclusiveContent { - forRepository { google() } - filter { + google { + content { includeGroupByRegex("androidx.*") includeGroupByRegex("com.android.*") includeGroup("com.google.android.gms") @@ -73,7 +72,7 @@ dependencyResolutionManagement { name = "Compose Compiler Snapshots" content { includeGroup("androidx.compose.compiler") } } - mavenCentral() + mavenCentral { mavenContent { releasesOnly() } } } } -- cgit v1.2.3