From 9a291e6da45d1a1d259293e4adaef97bb2edc926 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 14 Aug 2022 11:49:19 -0400 Subject: [PATCH] Fix sources not loading (cherry picked from commit 1f79444a531d0f4ec93cc953f3d82ea3c1094471) # Conflicts: # app/proguard-rules.pro --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 8d647913d..307af97ca 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,9 @@ buildscript { dependencies { + // Pinning to older version of R8 due to weird forced optimizations in newer versions in + // version bundled with AGP + // https://mvnrepository.com/artifact/com.android.tools/r8?repo=google + classpath("com.android.tools:r8:3.1.66") classpath(libs.android.shortcut.gradle) classpath(libs.google.services.gradle) classpath(libs.aboutlibraries.gradle)