1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-22 08:46:15 +00:00

Further cleanup; started creating a gradle-file.

This commit is contained in:
Fabian Schlenz 2016-06-29 11:25:54 +02:00
parent a7caf248a3
commit fbd796eb10
5 changed files with 1 additions and 37 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

1
build.gradle Normal file
View File

@ -0,0 +1 @@
apply plugin: 'java'

View File

@ -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>