mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-22 16:56:16 +00:00
Further cleanup; started creating a gradle-file.
This commit is contained in:
parent
a7caf248a3
commit
fbd796eb10
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
1
build.gradle
Normal file
1
build.gradle
Normal file
@ -0,0 +1 @@
|
|||||||
|
apply plugin: 'java'
|
36
build.xml
36
build.xml
@ -1,36 +0,0 @@
|
|||||||
<project default="main">
|
|
||||||
<path id="classpath">
|
|
||||||
<fileset dir="lib/" includes="**/*.jar" />
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<target name="clean">
|
|
||||||
<delete dir="build" />
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="build">
|
|
||||||
<mkdir dir="build/classes" />
|
|
||||||
<javac srcdir="src" destdir="build/classes" classpathref="classpath"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="jar" depends="build">
|
|
||||||
<mkdir dir="build/jar" />
|
|
||||||
<jar destfile="build/jar/telegram_backup.jar"
|
|
||||||
basedir="build/classes">
|
|
||||||
<manifest>
|
|
||||||
<attribute name="Main-Class"
|
|
||||||
value="de.fabianonline.telegram_backup.Main" />
|
|
||||||
</manifest>
|
|
||||||
</jar>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="run" depends="jar">
|
|
||||||
<java classname="de.fabianonline.telegram_backup.Main" fork="true" >
|
|
||||||
<classpath>
|
|
||||||
<path refid="classpath" />
|
|
||||||
<path location="build/jar/telegram_backup.jar" />
|
|
||||||
</classpath>
|
|
||||||
</java>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="main" depends="clean,run" />
|
|
||||||
</project>
|
|
Loading…
Reference in New Issue
Block a user