ソースを参照

Fix sources not loading

arkon 2 年 前
コミット
1f79444a53
2 ファイル変更5 行追加1 行削除
  1. 1 1
      app/proguard-rules.pro
  2. 4 0
      build.gradle.kts

+ 1 - 1
app/proguard-rules.pro

@@ -82,4 +82,4 @@
 -keepclassmembers class kotlinx.serialization.** {
     <methods>;
 }
-##---------------End: proguard configuration for kotlinx.serialization  ----------
+##---------------End: proguard configuration for kotlinx.serialization  ----------

+ 4 - 0
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)