Add R8 keep rule for Tink Error Prone annotations (release build)
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:
2026-07-13 09:10:19 +02:00
parent c3158873ef
commit d767a12e4e

View File

@@ -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.**