You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All my resource files are correct with UTF-8 encoding.
Need to pass JVM argument -Dfile.encoding=UTF-8 to the forked java process. (same as passing maxMemory)
I checked directly executing proguard.jar. With argument -Dfile.encoding=UTF-8 resource files are good. Without argument -Dfile.encoding=UTF-8 I also get corrupted resource files.
P.S. other maven plugins (surefire plugin, failsafe plugin) have argLine argument for passing JVM options to the forked java process
The text was updated successfully, but these errors were encountered:
after obfuscation resource file(s) become corrupted (UTF-8 encoding is lost)
OS name: "windows 11"
Java 8
Maven 3.9.7
plugin configuration:
proguard.conf
proguard.conf:
-dontshrink
-dontoptimize
-adaptresourcefilecontents META-INF/**.tld
All my resource files are correct with UTF-8 encoding.
Need to pass JVM argument -Dfile.encoding=UTF-8 to the forked java process. (same as passing maxMemory)
I checked directly executing proguard.jar. With argument -Dfile.encoding=UTF-8 resource files are good. Without argument -Dfile.encoding=UTF-8 I also get corrupted resource files.
P.S. other maven plugins (surefire plugin, failsafe plugin) have argLine argument for passing JVM options to the forked java process
The text was updated successfully, but these errors were encountered: