apply plugin: 'java'
apply plugin: 'application'
-sourceCompatibility = "1.8";
+sourceCompatibility = JavaVersion.VERSION_1_7
+targetCompatibility = JavaVersion.VERSION_1_7
mainClassName = 'cli.Main'
+version = '0.1.0'
+
repositories {
mavenCentral()
}
dependencies {
- compile 'org.whispersystems:textsecure-java:1.6.2'
- compile 'com.madgag.spongycastle:prov:1.52.0.0'
- compile 'org.json:json:20141113'
+ compile 'org.whispersystems:textsecure-java:1.8.3'
+ compile 'com.madgag.spongycastle:prov:1.53.0.0'
compile 'commons-io:commons-io:2.4'
compile 'net.sourceforge.argparse4j:argparse4j:0.5.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,
+ )
}
}