From 179e7a50441ba96110a9c56eac61329b51a2b2c5 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 9 May 2022 13:16:27 +0530 Subject: Tighten down dependency resolution (#1903) --- build-logic/settings.gradle.kts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'build-logic') diff --git a/build-logic/settings.gradle.kts b/build-logic/settings.gradle.kts index 144cd7f7..2e9d12b3 100644 --- a/build-logic/settings.gradle.kts +++ b/build-logic/settings.gradle.kts @@ -8,7 +8,23 @@ rootProject.name = "build-logic" dependencyResolutionManagement { repositories { - google() + exclusiveContent { + forRepository(::google) + filter { + includeGroup("androidx.databinding") + includeGroup("com.android") + includeGroup("com.android.tools") + includeGroup("com.android.tools.analytics-library") + includeGroup("com.android.tools.build") + includeGroup("com.android.tools.build.jetifier") + includeGroup("com.android.databinding") + includeGroup("com.android.tools.ddms") + includeGroup("com.android.tools.layoutlib") + includeGroup("com.android.tools.lint") + includeGroup("com.android.tools.utp") + includeGroup("com.google.testing.platform") + } + } mavenCentral() } versionCatalogs { create("libs") { from(files("../gradle/libs.versions.toml")) } } -- cgit v1.2.3