Skip to content

Commit b892318

Browse files
authored
Merge pull request #13038 from TobiGr/fix/minify
Fix R8 minify task by adding jsoup classes to proguard file
2 parents 98a1e65 + 6c5d58b commit b892318

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/proguard-rules.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
-dontwarn javax.script.**
1717
-keep class jdk.dynalink.** { *; }
1818
-dontwarn jdk.dynalink.**
19+
# Rules for jsoup
20+
# Ignore intended-to-be-optional re2j classes - only needed if using re2j for jsoup regex
21+
# jsoup safely falls back to JDK regex if re2j not on classpath, but has concrete re2j refs
22+
# See https://github.com/jhy/jsoup/issues/2459 - may be resolved in future, then this may be removed
23+
-dontwarn com.google.re2j.**
1924

2025
## Rules for ExoPlayer
2126
-keep class com.google.android.exoplayer2.** { *; }

0 commit comments

Comments
 (0)