forked from nextreports/nextreports-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathivy-build.xml
27 lines (21 loc) · 1.03 KB
/
ivy-build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0"?>
<project name="ivy" default="ivy.download">
<property name="ivy.install.version" value="2.2.0"/>
<property name="ivy.jar.name" value="ivy-${ivy.install.version}.jar"/>
<property name="ivy.jar.dir" value="ivy-lib"/>
<property name="ivy.jar.file" value="${ivy.jar.dir}/ivy-${ivy.install.version}.jar"/>
<property name="central.repo" value="https://repo1.maven.org/maven2"/>
<available property="ivy.installed" value="true" file="${ivy.jar.file}" type="file"/>
<target name="proxy">
<!--
<property name="proxy.host" value="192.168.16.1"/>
<property name="proxy.port" value="128"/>
<setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
-->
</target>
<target name="ivy.download" depends="proxy" unless="ivy.installed">
<mkdir dir="${ivy.jar.dir}"/>
<echo message="Installing Ivy..."/>
<get src="${central.repo}/org/apache/ivy/ivy/${ivy.install.version}/${ivy.jar.name}" dest="${ivy.jar.file}"/>
</target>
</project>