Files
paperscan/app/proguard-rules.pro
sam d767a12e4e
Some checks failed
Build APK / build (push) Failing after 1s
Add R8 keep rule for Tink Error Prone annotations (release build)
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>
2026-07-13 09:10:19 +02:00

13 lines
417 B
Prolog

# OpenCV loads native classes via JNI; keep its Java surface intact.
-keep class org.opencv.** { *; }
-dontwarn org.opencv.**
# OkHttp / Okio
-dontwarn okhttp3.**
-dontwarn okio.**
-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.**