Make proguard run before retrotranslator.

This commit is contained in:
bʰedoh₂ swé 2024-05-27 15:31:15 +05:00
parent 8ac5ff7b0e
commit 89fa729c1b
2 changed files with 7 additions and 7 deletions

View File

@ -31,11 +31,11 @@ clean:
rm -rf jars/
jars/result.jar: jars/classes.jar
-$(RETROTRANSLATOR) -srcjar jars/classes.jar -destjar jars/result.jar
jar -umf META-INF/MANIFEST.MF jars/result.jar -C res .
release jars/release.jar: jars/result.jar
proguard -include proguard.conf -libraryjars $(PHEADERS) -keepclassmembers class $(CLASSNAME) { public \<methods\> ';' } -keep public class $(CLASSNAME)
release jars/release.jar: jars/result.jar
-$(RETROTRANSLATOR) -srcjar jars/result.jar -destjar jars/release.jar
jar -umf META-INF/MANIFEST.MF jars/release.jar -C res .
run:
$(EMULATOR) jars/result.jar
$(EMULATOR) jars/release.jar

View File

@ -1,5 +1,5 @@
-injars jars/result.jar(!**.kotlin_builtins,!META-INF/main.kotlin_module,!META-INF/services/**)
-outjars jars/release.jar
-injars jars/classes.jar(!**.kotlin_builtins,!META-INF/main.kotlin_module,!META-INF/services/**)
-outjars jars/result.jar
-dontwarn org.jetbrains.**
-dontwarn net.sf.retrotranslator.**
-dontwarn edu.emory.mathcs.backport.**