summaryrefslogtreecommitdiff
path: root/build-logic
diff options
context:
space:
mode:
Diffstat (limited to 'build-logic')
-rw-r--r--build-logic/android-plugins/build.gradle.kts1
-rw-r--r--build-logic/kotlin-plugins/build.gradle.kts1
-rw-r--r--build-logic/settings.gradle.kts13
3 files changed, 14 insertions, 1 deletions
diff --git a/build-logic/android-plugins/build.gradle.kts b/build-logic/android-plugins/build.gradle.kts
index ae6121b0..c30723c7 100644
--- a/build-logic/android-plugins/build.gradle.kts
+++ b/build-logic/android-plugins/build.gradle.kts
@@ -56,6 +56,7 @@ gradlePlugin {
dependencies {
implementation(libs.build.agp)
implementation(libs.build.mavenpublish)
+ implementation(libs.build.r8)
implementation(libs.build.semver)
implementation(libs.build.sentry)
}
diff --git a/build-logic/kotlin-plugins/build.gradle.kts b/build-logic/kotlin-plugins/build.gradle.kts
index 78359ea6..393c6c8a 100644
--- a/build-logic/kotlin-plugins/build.gradle.kts
+++ b/build-logic/kotlin-plugins/build.gradle.kts
@@ -61,6 +61,7 @@ dependencies {
implementation(libs.build.agp)
implementation(libs.build.binarycompat)
implementation(libs.build.kotlin)
+ implementation(libs.build.r8)
implementation(libs.build.spotless)
implementation(libs.build.vcu)
implementation(libs.build.versions)
diff --git a/build-logic/settings.gradle.kts b/build-logic/settings.gradle.kts
index f4d7dc57..7641736c 100644
--- a/build-logic/settings.gradle.kts
+++ b/build-logic/settings.gradle.kts
@@ -13,7 +13,6 @@ dependencyResolutionManagement {
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")
@@ -23,12 +22,24 @@ dependencyResolutionManagement {
includeGroup("com.android.tools.lint")
includeGroup("com.android.tools.utp")
includeGroup("com.google.testing.platform")
+ includeModule("com.android.tools", "annotations")
+ includeModule("com.android.tools", "common")
+ includeModule("com.android.tools", "desugar_jdk_libs")
+ includeModule("com.android.tools", "desugar_jdk_libs_configuration")
+ includeModule("com.android.tools", "dvlib")
+ includeModule("com.android.tools", "repository")
+ includeModule("com.android.tools", "sdklib")
+ includeModule("com.android.tools", "sdk-common")
}
}
exclusiveContent {
forRepository(::gradlePluginPortal)
filter { includeModule("com.github.ben-manes", "gradle-versions-plugin") }
}
+ exclusiveContent {
+ forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
+ filter { includeModule("com.android.tools", "r8") }
+ }
mavenCentral()
}
versionCatalogs {