Skip to content

Commit

Permalink
Remove explicit ProGuard plugin dependencies (#2041)
Browse files Browse the repository at this point in the history
Explicitly specifying dependencies only seems to be necessary when using
`<proguardVersion>` config element to override version (and even that might
not be necessary; only adding explicit dependencies might suffice). However,
when omitting it, plugin uses a recent ProGuard version on its own.
  • Loading branch information
Marcono1234 committed Dec 28, 2021
1 parent abd2191 commit 9793828
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions gson/pom.xml
Expand Up @@ -12,10 +12,6 @@
<artifactId>gson</artifactId>
<name>Gson</name>

<properties>
<proguardVersion>7.1.1</proguardVersion>
</properties>

<licenses>
<license>
<name>Apache-2.0</name>
Expand Down Expand Up @@ -168,7 +164,6 @@
</execution>
</executions>
<configuration>
<proguardVersion>${proguardVersion}</proguardVersion>
<obfuscate>true</obfuscate>
<injar>test-classes-obfuscated-injar</injar>
<outjar>test-classes-obfuscated-outjar</outjar>
Expand All @@ -179,20 +174,6 @@
<lib>${java.home}/jmods/java.base.jmod</lib>
</libs>
</configuration>
<dependencies>
<dependency>
<groupId>com.guardsquare</groupId>
<artifactId>proguard-core</artifactId>
<version>${proguardVersion}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.guardsquare</groupId>
<artifactId>proguard-base</artifactId>
<version>${proguardVersion}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
Expand Down

0 comments on commit 9793828

Please sign in to comment.