diff options
| author | 2021-07-03 06:50:05 -0500 | |
|---|---|---|
| committer | 2021-07-03 12:50:05 +0100 | |
| commit | 0e43babc49e79e0e890816e46902cea6bedbf911 (patch) | |
| tree | a92bd9baebae3ca36aba31fdcf2fbf514759a183 | |
| parent | Update cfr and fixes a few related issues (#414) (diff) | |
| download | enigma-0e43babc49e79e0e890816e46902cea6bedbf911.tar.gz enigma-0e43babc49e79e0e890816e46902cea6bedbf911.tar.xz enigma-0e43babc49e79e0e890816e46902cea6bedbf911.zip | |
Update proguard (#418)
and remove java 8 command line vestige as we are now on 16
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
| -rw-r--r-- | enigma/build.gradle | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/enigma/build.gradle b/enigma/build.gradle index 1f53f461..72d1c6a5 100644 --- a/enigma/build.gradle +++ b/enigma/build.gradle | |||
| @@ -11,7 +11,7 @@ dependencies { | |||
| 11 | implementation 'net.fabricmc:procyon-fabric-compilertools:0.5.35.13' | 11 | implementation 'net.fabricmc:procyon-fabric-compilertools:0.5.35.13' |
| 12 | implementation 'net.fabricmc:cfr:0.0.6' | 12 | implementation 'net.fabricmc:cfr:0.0.6' |
| 13 | 13 | ||
| 14 | proGuard 'com.guardsquare:proguard-base:7.1.0-beta5' | 14 | proGuard 'com.guardsquare:proguard-base:7.1.0' |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | // Generate "version.txt" file | 17 | // Generate "version.txt" file |
| @@ -30,7 +30,7 @@ sourceSets.main.output.dir genOutputDir, builtBy: generateVersionFile | |||
| 30 | 30 | ||
| 31 | // Generate obfuscated JARs for tests | 31 | // Generate obfuscated JARs for tests |
| 32 | 32 | ||
| 33 | def libraryJarsArg = JavaVersion.current().java9Compatible ? "<java.home>/jmods" : "<java.home>/lib/rt.jar" | 33 | def libraryJarsArg = "<java.home>/jmods" |
| 34 | 34 | ||
| 35 | // If your test fails for class file version problem with proguard, run gradle with -Dorg.gradle.java.home="<older jdk>" flag | 35 | // If your test fails for class file version problem with proguard, run gradle with -Dorg.gradle.java.home="<older jdk>" flag |
| 36 | file('src/test/java/cuchaz/enigma/inputs').listFiles().each { theFile -> | 36 | file('src/test/java/cuchaz/enigma/inputs').listFiles().each { theFile -> |