Created
July 26, 2015 20:35
-
-
Save scottj/59b618e0053f7d4a888b to your computer and use it in GitHub Desktop.
Build dex2jar.jar from a d2j snapshot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="dex2jar" basedir="." default="build.jar"> | |
<property name="lib.dir" value="lib"/> | |
<property name="build.dir" value="build"/> | |
<property name="dist.dir" value="dist"/> | |
<property name="dist.jar" value="${dist.dir}/dex2jar.jar"/> | |
<target name="init" description="Create Directories"> | |
<mkdir dir="${build.dir}"/> | |
<mkdir dir="${dist.dir}"/> | |
<mkdir dir="${lib.dir}"/> | |
</target> | |
<target name="clean" depends="init" description="Clean Build Dir"> | |
<delete> | |
<fileset dir="${build.dir}"/> | |
</delete> | |
</target> | |
<target name="build.jar" depends="clean" description="Build JAR file"> | |
<delete> | |
<fileset dir="${dist.dir}"/> | |
</delete> | |
<tstamp/> | |
<jar destfile="${dist.jar}" basedir="${build.dir}" level="9"> | |
<zipgroupfileset dir="${lib.dir}" includes="*.jar"/> | |
<manifest> | |
<attribute name="Main-Class" value="com.googlecode.dex2jar.tools.Dex2jarCmd"/> | |
<attribute name="Build-Date" value="${TODAY}"/> | |
</manifest> | |
</jar> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment