I use the ProGuard ant task, and everything is fine, except that my ProGuard configuration file is huge. In addition, different tasks use different ProGuard configuration files, and there are many copies that I would like to reorganize into separate .pro files.
<taskdef resource="proguard/ant/task.properties" classpath="C:/Program Files/proguard4.7/lib/proguard.jar"/>
<target name="obfuscated_jar" depends="raw_jar">
<proguard configuration="core.pro lib1.pro lib2.pro">
<outjar path="prog_obfuscated.jar"/>
</proguard>
</target>
The above does not work as it treats multiple .pro files as one big file name. I am a famous idiot wrt ant, will I miss something obvious? Thank!
source
share