update maven, dependency plugins

This commit is contained in:
Anthony Calosa
2024-09-17 20:05:37 +08:00
parent de9823ab71
commit bbc3d5639c
4 changed files with 106 additions and 40 deletions

View File

@@ -414,7 +414,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<version>3.0.0</version>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
@@ -472,7 +472,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<version>3.0.0</version>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>

View File

@@ -4,7 +4,8 @@
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/*,!field/*,!class/merging/*,!code/allocation/variable,!library/gson
# https://stackoverflow.com/a/32615580
-optimizations !code/simplification/*,!field/*,!class/merging/*,!code/allocation/variable,!library/gson,!class/unboxing/enum
## Uncomment the line below and set it to the location of rt.jar in JDK if the Proguard step fails to find the libraries
## and spits out a thousand-something Class Not Found errors
@@ -61,7 +62,7 @@
-keep class org.apache.commons.lang3.** { *; }
-keep class com.google.guava.** { *; }
-keep class com.google.common.** { *; }
#-keep class com.google.gson.GsonBuilder
##-keep class com.google.gson.GsonBuilder
##-keep class io.sentry.event.Event { *; }
##-keep class io.sentry.android.core.SentryAndroidOptions
##-keep class io.sentry.android.core.SentryAndroid
@@ -129,6 +130,3 @@
}
-keepattributes LineNumberTable,SourceFile
# https://stackoverflow.com/a/32615580
-optimizations !class/unboxing/enum