Upgrade Proguard to a version that supports Java 18.
For unfortunate reasons, we have to add a separate (build-time) dependency on proguard-core, code from which proguard-base relies on but neither includes directly nor expresses as a dependency. How is it in the year of our lord two thousand and twenty two, we are still making such basic build errors in our Maven plugins and POM files?
This commit is contained in:
+9
-3
@@ -85,7 +85,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.github.wvengen</groupId>
|
<groupId>com.github.wvengen</groupId>
|
||||||
<artifactId>proguard-maven-plugin</artifactId>
|
<artifactId>proguard-maven-plugin</artifactId>
|
||||||
<version>2.3.1</version>
|
<version>2.5.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
@@ -96,12 +96,18 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.guardsquare</groupId>
|
<groupId>com.guardsquare</groupId>
|
||||||
<artifactId>proguard-base</artifactId>
|
<artifactId>proguard-base</artifactId>
|
||||||
<version>7.0.0</version>
|
<version>7.2.1</version>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.guardsquare</groupId>
|
||||||
|
<artifactId>proguard-core</artifactId>
|
||||||
|
<version>9.0.0</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<configuration>
|
<configuration>
|
||||||
<proguardVersion>7.0.0</proguardVersion>
|
<proguardVersion>7.2.1</proguardVersion>
|
||||||
<outputDirectory>${project.build.directory}</outputDirectory>
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
||||||
<outjar>${project.build.finalName}.jar</outjar>
|
<outjar>${project.build.finalName}.jar</outjar>
|
||||||
<injar>${project.build.finalName}.jar</injar>
|
<injar>${project.build.finalName}.jar</injar>
|
||||||
|
|||||||
Reference in New Issue
Block a user