forked from angryziber/simple-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
18 lines (14 loc) · 760 Bytes
/
build.xml
File metadata and controls
18 lines (14 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<project xmlns:ivy="antlib:org.apache.ivy.ant" name="devclub-simple-java" default="fetch-jars">
<property name="ivy.version" value="2.2.0"/>
<target name="fetch-jars" depends="install-ivy">
<ivy:retrieve pattern="lib/[conf]/[artifact]-[type]-[revision].[ext]" symlink="true"/>
</target>
<target name="install-ivy">
<mkdir dir="lib"/>
<get src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar" dest="lib/ivy.jar" usetimestamp="true"/>
<path id="ivy.lib.path">
<fileset dir="lib" includes="*.jar"/>
</path>
<taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
</target>
</project>