Skip to content

Commit 5612387

Browse files
committed
Imptove proguard settings to minimize jar file.
1 parent dffae06 commit 5612387

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lodash-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
<configuration>
8282
<options>
8383
<option>-allowaccessmodification</option>
84-
<option>-renamesourcefileattribute SourceFile</option>
85-
<option>-keepattributes Signature,InnerClasses,SourceFile,LineNumberTable</option>
84+
<option>-keepattributes Signature,InnerClasses</option>
8685
<option>-keep public class com.github.underscore.lodash.$ { *; }</option>
86+
<option>-keep public class com.github.underscore.lodash.*$Chain { *; }</option>
8787
</options>
8888
<libs>
8989
<lib>${java.home}/lib/rt.jar</lib>

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@
133133
<configuration>
134134
<options>
135135
<option>-allowaccessmodification</option>
136-
<option>-renamesourcefileattribute SourceFile</option>
137-
<option>-keepattributes Signature,InnerClasses,SourceFile,LineNumberTable</option>
136+
<option>-keepattributes Signature,InnerClasses</option>
138137
<option>-keep public class com.github.underscore.$ { *; }</option>
139138
<option>-keep public class com.github.underscore.*$Chain { *; }</option>
140139
<option>-keep public class com.github.underscore.Block { *; }</option>

0 commit comments

Comments
 (0)