From 0ae339e00dfc2521872afc9949f74ebe3c141fcf Mon Sep 17 00:00:00 2001 From: Hai Zhang Date: Sun, 20 Aug 2023 02:39:34 -0700 Subject: [PATCH] [Fix] Work around R8 bug. See also https://issuetracker.google.com/issues/296654327 . --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index f7b470afe..99090d5dd 100644 --- a/build.gradle +++ b/build.gradle @@ -12,9 +12,14 @@ buildscript { repositories { google() mavenCentral() + maven { + url = uri("https://storage.googleapis.com/r8-releases/raw") + } } dependencies { classpath 'com.android.tools.build:gradle:8.1.0' + // TODO: Remove this and r8 maven once b/296654327 is fixed and released. + classpath 'com.android.tools:r8:8.2.15-dev' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong