Fix R8 version configuration not working (#916)

This reverts commit f3226fb278.
This commit is contained in:
FooIbar 2024-06-17 06:53:02 +08:00 committed by GitHub
parent f3226fb278
commit 4182ae89a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 6 deletions

View file

@ -1,11 +1,5 @@
buildscript {
// https://issuetracker.google.com/344363457
// TODO: Remove when AGP's bundled R8 is updated
repositories {
maven("https://storage.googleapis.com/r8-releases/raw")
}
dependencies {
classpath("com.android.tools:r8:8.5.21")
classpath(libs.android.shortcut.gradle)
classpath(libs.google.services.gradle)
classpath(libs.aboutLibraries.gradle)

View file

@ -13,6 +13,16 @@ pluginManagement {
mavenCentral()
maven(url = "https://www.jitpack.io")
}
// https://issuetracker.google.com/344363457
// TODO: Remove when AGP's bundled R8 is updated
buildscript {
repositories {
maven("https://storage.googleapis.com/r8-releases/raw")
}
dependencies {
classpath("com.android.tools:r8:8.5.21")
}
}
}
dependencyResolutionManagement {