Add R8 keep rule for Tink Error Prone annotations (release build)
Some checks failed
Build APK / build (push) Failing after 1s
Some checks failed
Build APK / build (push) Failing after 1s
androidx.security-crypto pulls in Tink, which references compile-only com.google.errorprone.annotations.* classes; suppress the R8 missing-class errors so assembleRelease succeeds. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
4
app/proguard-rules.pro
vendored
4
app/proguard-rules.pro
vendored
@@ -6,3 +6,7 @@
|
|||||||
-dontwarn okhttp3.**
|
-dontwarn okhttp3.**
|
||||||
-dontwarn okio.**
|
-dontwarn okio.**
|
||||||
-keep class okhttp3.** { *; }
|
-keep class okhttp3.** { *; }
|
||||||
|
|
||||||
|
# Tink (via androidx.security-crypto, used for EncryptedSharedPreferences) references
|
||||||
|
# compile-only Error Prone annotations that aren't present at runtime.
|
||||||
|
-dontwarn com.google.errorprone.annotations.**
|
||||||
|
|||||||
Reference in New Issue
Block a user