Skip to content

Commit bd68c9a

Browse files
committed
Minimize Proguard config in POM
1 parent 359b0d1 commit bd68c9a

File tree

1 file changed

+4
-30
lines changed

1 file changed

+4
-30
lines changed

pom.xml

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<url>https://github.com/patrickfav/bytes-java</url>
2323
<inceptionYear>2017</inceptionYear>
2424

25+
<properties>
26+
<commonConfig.jarSign.skip>false</commonConfig.jarSign.skip>
27+
</properties>
28+
2529
<repositories>
2630
<repository>
2731
<id>jcenter</id>
@@ -79,36 +83,6 @@
7983
<plugin>
8084
<groupId>com.github.wvengen</groupId>
8185
<artifactId>proguard-maven-plugin</artifactId>
82-
<version>2.0.14</version>
83-
<executions>
84-
<execution>
85-
<phase>package</phase>
86-
<goals>
87-
<goal>proguard</goal>
88-
</goals>
89-
<configuration>
90-
<includeDependency>false</includeDependency>
91-
<attachArtifactClassifier>optimized</attachArtifactClassifier>
92-
<attach>true</attach>
93-
<proguardVersion>6.0.3</proguardVersion>
94-
<obfuscate>false</obfuscate>
95-
<options>
96-
<option>-include ${project.basedir}/proguard-rules.pro</option>
97-
</options>
98-
<libs>
99-
<lib>${java.home}/lib/rt.jar</lib>
100-
</libs>
101-
</configuration>
102-
</execution>
103-
</executions>
104-
<dependencies>
105-
<dependency>
106-
<groupId>net.sf.proguard</groupId>
107-
<artifactId>proguard-base</artifactId>
108-
<version>6.0.3</version>
109-
<scope>runtime</scope>
110-
</dependency>
111-
</dependencies>
11286
</plugin>
11387
<plugin>
11488
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)