Skip to content

Commit dd0a673

Browse files
authored
Improved proguard settings
1 parent 66e8db8 commit dd0a673

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pom-pack.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<plugin>
7878
<groupId>com.github.wvengen</groupId>
7979
<artifactId>proguard-maven-plugin</artifactId>
80-
<version>2.5.3</version>
80+
<version>2.6.1</version>
8181
<executions>
8282
<execution>
8383
<phase>package</phase>
@@ -92,10 +92,10 @@
9292
<option>-keepattributes Signature,InnerClasses</option>
9393
<option>-keep public class com.github.underscore.Underscore { *; }</option>
9494
<option>-keep public class com.github.underscore.*$Chain { *; }</option>
95-
<option>-keep public class com.github.underscore.Underscore.Function3 { *; }</option>
96-
<option>-keep public class com.github.underscore.Underscore.MemoizeFunction { *; }</option>
97-
<option>-keep public class com.github.underscore.Underscore.PredicateIndexed { *; }</option>
98-
<option>-keep public class com.github.underscore.Underscore.Template { *; }</option>
95+
<option>-keep public class com.github.underscore.Underscore$Function3 { *; }</option>
96+
<option>-keep public class com.github.underscore.Underscore$MemoizeFunction { *; }</option>
97+
<option>-keep public class com.github.underscore.Underscore$PredicateIndexed { *; }</option>
98+
<option>-keep public class com.github.underscore.Underscore$Template { *; }</option>
9999
<option>-keep public class com.github.underscore.Base32 { *; }</option>
100100
<option>-keep public class com.github.underscore.Json { *; }</option>
101101
<option>-keep public class com.github.underscore.U { *; }</option>
@@ -118,6 +118,7 @@
118118
<option>-keepclassmembers class * { *** newArrayList(); *** newLinkedHashSet(); *** newHashSet(java.lang.Iterable); *** newLinkedHashMap(); }</option>
119119
<option>-dontnote com.github.underscore.*$ClassForName</option>
120120
<option>-dontnote com.github.underscore.*$OperationType</option>
121+
<option>-dontwarn java.net.http.**</option>
121122
</options>
122123
<libs>
123124
<lib>${java.home.openjdk11}/lib/jrt-fs.jar</lib>

0 commit comments

Comments
 (0)