Skip to content

Commit 945c5fa

Browse files
committed
ProGuard rule to ignore the optional re2j dependency when not present
Fixes #2459
1 parent 7f45dbb commit 945c5fa

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# jsoup Changelog
22

3+
## 1.22.2 (PENDING)
4+
5+
### Bug Fixes
6+
* Android (R8/ProGuard): added a rule to ignore the optional `re2j` dependency when not present. [#2459](https://github.com/jhy/jsoup/issues/2459)
7+
38
## 1.22.1 (2026-Jan-01)
49

510
### Improvements

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,10 @@
327327
</plugin>
328328
</plugins>
329329
<resources>
330+
<resource>
331+
<directory>src/main/resources</directory>
332+
<filtering>false</filtering>
333+
</resource>
330334
<resource>
331335
<directory>./</directory>
332336
<targetPath>META-INF/jsoup/</targetPath>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-dontwarn com.google.re2j.**

0 commit comments

Comments
 (0)