aboutsummaryrefslogtreecommitdiff
path: root/build-logic/settings.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-10-21 12:02:23 +0530
committerGitHub <noreply@github.com>2022-10-21 06:32:23 +0000
commitdf764932f7fdddea9cea5937c6053a95797d35df (patch)
treea24e108f9584c60b4f6e18717af4269cbb49c91b /build-logic/settings.gradle.kts
parent7f90d827ae436fe74ce5d3cabb9f1b091462b657 (diff)
Migrate to Metalava for validating API (#2195)
Diffstat (limited to 'build-logic/settings.gradle.kts')
-rw-r--r--build-logic/settings.gradle.kts10
1 files changed, 7 insertions, 3 deletions
diff --git a/build-logic/settings.gradle.kts b/build-logic/settings.gradle.kts
index bb233022..07992f1a 100644
--- a/build-logic/settings.gradle.kts
+++ b/build-logic/settings.gradle.kts
@@ -9,7 +9,7 @@ rootProject.name = "build-logic"
dependencyResolutionManagement {
repositories {
exclusiveContent {
- forRepository(::google)
+ forRepository { google() }
filter {
includeGroup("androidx.databinding")
includeGroup("com.android")
@@ -31,11 +31,15 @@ dependencyResolutionManagement {
includeModule("com.android.tools", "repository")
includeModule("com.android.tools", "sdklib")
includeModule("com.android.tools", "sdk-common")
+ includeModule("com.android.tools.metalava", "metalava")
}
}
exclusiveContent {
- forRepository(::gradlePluginPortal)
- filter { includeModule("com.github.ben-manes", "gradle-versions-plugin") }
+ forRepository { gradlePluginPortal() }
+ filter {
+ includeModule("com.github.ben-manes", "gradle-versions-plugin")
+ includeModule("me.tylerbwong.gradle.metalava", "plugin")
+ }
}
exclusiveContent {
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }