12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project name="DMDirc-ivy" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
- <description>Ivy utilities for DMDirc</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" />
- </target>
-
- <target name="-init-dependencies" depends="-init-ivy" unless="ivy.done">
- <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.classpath"/>
- <ivy:settings file="etc/ivy/ivysettings.xml"/>
- <ivy:retrieve symlink="true" pattern="lib/[conf]/[artifact].[ext]" sync="true" />
- <property name="ivy.done" value="true"/>
- </target>
-
- <target name="publish-integration" depends="-init-dependencies,jar">
- <copy file="dist/DMDirc.jar" tofile="dist/client.jar"/>
- <ivy:deliver deliverpattern="build/ivy.xml" pubrevision="${git.version}" />
- <ivy:makepom ivyfile="build/ivy.xml" pomfile="dist/client.pom">
- <mapping conf="main" scope="compile"/>
- </ivy:makepom>
- <ivy:resolve file="build/ivy.xml"/>
- <ivy:retrieve/>
- <ivy:publish resolver="dmdirc-releases"
- organisation="com.dmdirc"
- module="client"
- revision="${git.version}"
- status="integration"
- artifactspattern="dist/[artifact].[ext]"
- publishivy="false">
- </ivy:publish>
- </target>
- </project>
|