diff --git a/Makefile b/Makefile index 2f71ae7..11d3b13 100644 --- a/Makefile +++ b/Makefile @@ -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 \ ';' } -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 diff --git a/proguard.conf b/proguard.conf index 44ce399..8b71f48 100644 --- a/proguard.conf +++ b/proguard.conf @@ -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.**