-
Notifications
You must be signed in to change notification settings - Fork 2
/
build-ivy.xml
23 lines (18 loc) · 940 Bytes
/
build-ivy.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<project name="ivy" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
<description>Ivy utilities</description>
<property name="ivy.cache.ttl.default" value="7d"/>
<target name="-init-ivy" depends="-init-lib-directory">
<path id="ivy.classpath">
<fileset dir="etc/ivy" includes="ivy*.jar"/>
</path>
<available classname="org.apache.ivy.ant.IvyConfigure"
property="ivy.available" classpathref="ivy.classpath" />
<taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.classpath"/>
<ivy:settings file="etc/ivy/ivysettings.xml"/>
</target>
<target name="-init-dependencies" depends="-init-ivy" unless="ivy.done">
<ivy:retrieve symlink="true" pattern="lib/[artifact].[ext]" sync="true" />
<property name="ivy.done" value="true"/>
</target>
</project>