From 0257620f257cc1dafc11837798891033d8899754 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Thu, 27 Aug 2015 20:31:00 +0200 Subject: [PATCH] build: move custom rules to custom_rules.xml --- build.xml | 117 ++++++++++------------------------------------- custom_rules.xml | 80 ++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+), 92 deletions(-) create mode 100644 custom_rules.xml diff --git a/build.xml b/build.xml index af0b220..0cc66e3 100644 --- a/build.xml +++ b/build.xml @@ -4,7 +4,7 @@ - + + + + + + + - - - - - You need to add mapsApiKey=... to local.properties - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - - You have to place scala-compiler.jar and scala-library.jar to tools/ - - - - You have to place scala-compiler.jar and scala-library.jar to tools/ - - - - - - - - - - - - - - - - ProGuard is required to build! Copy proguard.jar to tools/ - - - - - - - - -injars ${out.classes.absolute.dir}:${jar.libs.dir}:tools/scala-library.jar(!META-INF/MANIFEST.MF,!library.properties) - -outjars ${out.absolute.dir}/classes.min.jar - -libraryjars ${toString:project.target.class.path} - -printusage ${optimized.dir}/proguard.usage - - - - - Converting compiled files and external libraries into ${intermediate.dex.file}... - - - - - - diff --git a/custom_rules.xml b/custom_rules.xml new file mode 100644 index 0000000..a2c7eda --- /dev/null +++ b/custom_rules.xml @@ -0,0 +1,80 @@ + + + + + + + You need to add mapsApiKey=... to local.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + You have to place scala-compiler.jar and scala-library.jar to tools/ + + + + You have to place scala-compiler.jar and scala-library.jar to tools/ + + + + + + + + + + + + + + + + + + + + + + + + + + -injars ${out.classes.absolute.dir}:${jar.libs.dir}:tools/scala-library.jar(!META-INF/MANIFEST.MF,!library.properties) + -outjars ${obfuscated.jar.file} + -libraryjars ${toString:project.target.class.path} + -dump "${obfuscate.absolute.dir}/dump.txt" + -printseeds "${obfuscate.absolute.dir}/seeds.txt" + -printusage "${obfuscate.absolute.dir}/usage.txt" + -printmapping "${obfuscate.absolute.dir}/mapping.txt" + + + + + +