mirror of
https://gitlab.com/Monsterovich/lanemu.git
synced 2024-07-07 06:01:16 +02:00
Download dependencies with ivy
This commit is contained in:
parent
4d3196443b
commit
155c6cee98
|
@ -17,5 +17,6 @@ deploy:jdk8:
|
|||
script:
|
||||
- apt update
|
||||
- apt -y install ant make gcc gcc-multilib mingw-w64 mingw-w64-tools mingw-w64-i686-dev mingw-w64-x86-64-dev openjdk-11-jdk libayatana-appindicator3-dev libnotify-dev
|
||||
- curl https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.2/ivy-2.5.2.jar --create-dirs -o "${HOME}/.ant/lib/ivy.jar"
|
||||
- make install
|
||||
|
||||
|
|
12
build.xml
12
build.xml
|
@ -19,13 +19,13 @@
|
|||
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<project name="Lanemu" default="jar" basedir=".">
|
||||
<project name="Lanemu" default="jar" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
|
||||
<property name="src" value="src"/>
|
||||
<property name="build" value="build"/>
|
||||
<property name="build.classes" value="build/classes"/>
|
||||
<property name="clib" value="clib"/>
|
||||
<property name="resources" value="resources"/>
|
||||
<property name="classpath" value="lib/commons-jxpath-1.1.jar;lib/commons-logging.jar;lib/sbbi-upnplib-1.0.4.jar;lib/bcprov-jdk15on-1.70.jar;lib/junit-4.5.jar;lib/commons-codec-1.3.jar;lib/xmlrpc-common-3.1.1.jar;lib/xmlrpc-client-3.1.1.jar;lib/ws-commons-util-1.0.2.jar;lib/swing-layout-1.0.3.jar;lib/swing-layout-1.0.3.jar;lib/WaifUPnP.jar;lib/flatlaf-3.1.1.jar"/>
|
||||
<property name="classpath" value="lib/commons-jxpath-1.1.jar;lib/commons-logging-1.2.jar;lib/sbbi-upnplib-1.0.4.jar;lib/bcprov-jdk15on-1.70.jar;lib/junit-4.5.jar;lib/commons-codec-1.3.jar;lib/xmlrpc-common-3.1.1.jar;lib/xmlrpc-client-3.1.1.jar;lib/ws-commons-util-1.0.2.jar;lib/swing-layout-1.0.3.jar;lib/swing-layout-1.0.3.jar;lib/WaifUPnP.jar;lib/flatlaf-3.1.1.jar"/>
|
||||
|
||||
<target name="init">
|
||||
<mkdir dir="${build}"/>
|
||||
|
@ -36,7 +36,7 @@
|
|||
<delete dir="${build}"/>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="init">
|
||||
<target name="compile" depends="init,resolve">
|
||||
<exec executable="git" outputproperty="git.revision">
|
||||
<arg value="rev-parse"/>
|
||||
<arg value="--short"/>
|
||||
|
@ -52,6 +52,10 @@
|
|||
debug="true"/>
|
||||
</target>
|
||||
|
||||
<target name="resolve">
|
||||
<ivy:retrieve/>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile">
|
||||
<mkdir dir="${build}/lib"/>
|
||||
<copy todir="${build}/lib">
|
||||
|
@ -75,7 +79,7 @@
|
|||
<zipfileset dir="${resources}" prefix="resources"/>
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="org.p2pvpn.Main"/>
|
||||
<attribute name="Class-Path" value="lib/commons-jxpath-1.1.jar lib/commons-logging.jar lib/bcprov-jdk15on-1.70.jar lib/commons-codec-1.3.jar lib/xmlrpc-common-3.1.1.jar lib/xmlrpc-client-3.1.1.jar lib/ws-commons-util-1.0.2.jar lib/swing-layout-1.0.3.jar lib/WaifUPnP.jar lib/flatlaf-3.1.1.jar"/>
|
||||
<attribute name="Class-Path" value="lib/commons-jxpath-1.1.jar lib/commons-logging-1.2.jar lib/bcprov-jdk15on-1.70.jar lib/commons-codec-1.3.jar lib/xmlrpc-common-3.1.1.jar lib/xmlrpc-client-3.1.1.jar lib/ws-commons-util-1.0.2.jar lib/swing-layout-1.0.3.jar lib/WaifUPnP.jar lib/flatlaf-3.1.1.jar"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
|
18
ivy.xml
Normal file
18
ivy.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<ivy-module version="2.0">
|
||||
<info organisation="org.p2pvpn" module="fetch-dependencies"/>
|
||||
|
||||
<configurations defaultconfmapping="compile->default">
|
||||
<conf name="compile" description="Required to compile application"/>
|
||||
</configurations>
|
||||
|
||||
<dependencies>
|
||||
<!-- compile dependencies -->
|
||||
<dependency org="org.bouncycastle" name="bcprov-jdk15on" rev="1.70"/>
|
||||
<dependency org="commons-codec" name="commons-codec" rev="1.3" transitive="false"/>
|
||||
<dependency org="commons-jxpath" name="commons-jxpath" rev="1.1" transitive="false"/>
|
||||
<dependency org="commons-logging" name="commons-logging" rev="1.2" transitive="false"/>
|
||||
<dependency org="com.formdev" name="flatlaf" rev="3.1.1"/>
|
||||
<dependency org="org.swinglabs" name="swing-layout" rev="1.0.3"/>
|
||||
<dependency org="junit" name="junit" rev="4.5"/>
|
||||
</dependencies>
|
||||
</ivy-module>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue