]> nmode's Git Repositories - signal-cli/blobdiff - build.gradle
Add ListGroups command
[signal-cli] / build.gradle
index 65774e8c150cfa623dde06037e0ba91799b8cb1c..346c13e7e03c3f8444d9091747913299642a7d31 100644 (file)
@@ -1,26 +1,36 @@
 apply plugin: 'java'
 apply plugin: 'application'
+apply plugin: 'eclipse'
 
-sourceCompatibility = "1.8";
+sourceCompatibility = JavaVersion.VERSION_1_7
+targetCompatibility = JavaVersion.VERSION_1_7
 
-mainClassName = 'cli.Main'
+mainClassName = 'org.asamk.signal.Main'
+
+version = '0.5.5'
+
+compileJava.options.encoding = 'UTF-8'
 
 repositories {
+    maven {
+        url "https://raw.github.com/AsamK/maven/master/releases/"
+    }
     mavenCentral()
 }
 
 dependencies {
-    compile 'org.whispersystems:textsecure-java:1.7.0'
-    compile 'com.madgag.spongycastle:prov:1.52.0.0'
-    compile 'org.json:json:20141113'
-    compile 'commons-io:commons-io:2.4'
-    compile 'net.sourceforge.argparse4j:argparse4j:0.5.0'
+    compile 'com.github.turasa:signal-service-java:2.5.0_unofficial_1'
+    compile 'org.bouncycastle:bcprov-jdk15on:1.55'
+    compile 'net.sourceforge.argparse4j:argparse4j:0.7.0'
+    compile 'org.freedesktop.dbus:dbus-java:2.7.0'
 }
 
 jar {
-    baseName = 'textsecure-cli'
-    version = '0.0.2'
     manifest {
-        attributes 'Main-Class': 'cli.Main'
+        attributes(
+                'Implementation-Title': project.name,
+                'Implementation-Version': project.version,
+                'Main-Class': project.mainClassName,
+        )
     }
 }