Make proguard run before retrotranslator.
This commit is contained in:
parent
8ac5ff7b0e
commit
89fa729c1b
10
Makefile
10
Makefile
@ -31,11 +31,11 @@ clean:
|
|||||||
rm -rf jars/
|
rm -rf jars/
|
||||||
|
|
||||||
jars/result.jar: jars/classes.jar
|
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)
|
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:
|
run:
|
||||||
$(EMULATOR) jars/result.jar
|
$(EMULATOR) jars/release.jar
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
-injars jars/result.jar(!**.kotlin_builtins,!META-INF/main.kotlin_module,!META-INF/services/**)
|
-injars jars/classes.jar(!**.kotlin_builtins,!META-INF/main.kotlin_module,!META-INF/services/**)
|
||||||
-outjars jars/release.jar
|
-outjars jars/result.jar
|
||||||
-dontwarn org.jetbrains.**
|
-dontwarn org.jetbrains.**
|
||||||
-dontwarn net.sf.retrotranslator.**
|
-dontwarn net.sf.retrotranslator.**
|
||||||
-dontwarn edu.emory.mathcs.backport.**
|
-dontwarn edu.emory.mathcs.backport.**
|
||||||
|
Loading…
Reference in New Issue
Block a user