fix: added proguard rules
This commit is contained in:
Vendored
+10
-1
@@ -18,4 +18,13 @@
|
|||||||
|
|
||||||
# If you keep the line number information, uncomment this to
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
# Игнорировать отсутствие класса декодера JP2 в PdfBox-Android
|
||||||
|
-dontwarn com.gemalto.jp2.JP2Decoder
|
||||||
|
# На всякий случай, если PdfBox ссылается на другие отсутствующие библиотеки (например, ICU для текста)
|
||||||
|
-dontwarn com.tom_roush.pdfbox.**
|
||||||
|
|
||||||
|
# Запретить R8 удалять и переименовывать внутренности PdfBox-Android
|
||||||
|
-keep class com.tom_roush.pdfbox.** { *; }
|
||||||
|
-keep interface com.tom_roush.pdfbox.** { *; }
|
||||||
|
|||||||
Reference in New Issue
Block a user