org.openstreetmap.josm.tools.JosmDecimalFormatSymbolsProvider # automatically generated by JOSM build.xml - do not edit Revision: ${version.entry.commit.revision} Is-Local-Build: true Build-Date: ${build.tstamp} Revision ${version.entry.commit.revision} JOSM - Javadoc]]> JOSM]]> -injars ${dist.jar} -outjars ${dist-optimized.jar} -libraryjars ${java.home}/${java.library.dir} -dontoptimize -dontobfuscate # These options probably are not necessary (and make processing a bit slower) -dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclassmembers -keepclasseswithmembers public class org.openstreetmap.josm.gui.MainApplication { public static void main(java.lang.String[]); } -keep class * extends org.openstreetmap.josm.io.FileImporter -keep class * extends org.openstreetmap.josm.io.FileExporter -keep class org.openstreetmap.josm.actions.search.SearchCompiler$Never -keep class org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory$PseudoClasses { static boolean *(org.openstreetmap.josm.gui.mappaint.Environment); } -keep class org.apache.commons.logging.impl.* -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } # Keep unused public classes and methods (needed for plugins) -keep public class * { public protected *; } # Keep serialization code -keepclassmembers class * implements java.io.Serializable { static final long serialVersionUID; private static final java.io.ObjectStreamField[] serialPersistentFields; private void writeObject(java.io.ObjectOutputStream); private void readObject(java.io.ObjectInputStream); java.lang.Object writeReplace(); java.lang.Object readResolve(); } # Disable annoying [proguard] Note: the configuration keeps the entry point '...', but not the descriptor class '...'. # This note should not be a problem as we don't use obfuscation -dontnote <_taginfo type="mappaint" output="taginfo_style.json"/> <_taginfo type="presets" output="taginfo_presets.json"/> <_taginfo type="external_presets" output="taginfo_external_presets.json"/> ${pmd.dir}/josm-ruleset.xml