Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/r8/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,19 @@ java {
repositories {
google()
mavenCentral()
// R8 patch releases newer than what is published to maven.google.com
// are available here. See: https://r8.googlesource.com/r8/#replacing-r8-in-agp
maven {
url 'https://storage.googleapis.com/r8-releases/raw'
}
}

dependencies {
implementation 'com.android.tools:r8:9.1.31'
// 9.1.43 contains the fix for the NullPointerException in
// AndroidApiLevelCompute.of() when --no-tree-shaking is passed.
// See: https://issuetracker.google.com/issues/524775142
// See: https://github.com/dotnet/android/issues/11672
implementation 'com.android.tools:r8:9.1.43'
}

jar {
Expand Down