]> nmode's Git Repositories - signal-cli/blob - build.gradle
Add version to jar manifest
[signal-cli] / build.gradle
1 apply plugin: 'java'
2 apply plugin: 'application'
3
4 sourceCompatibility = "1.8";
5
6 mainClassName = 'cli.Main'
7
8 version = '0.0.2'
9
10 repositories {
11 mavenCentral()
12 }
13
14 dependencies {
15 compile 'org.whispersystems:textsecure-java:1.8.0'
16 compile 'com.madgag.spongycastle:prov:1.52.0.0'
17 compile 'org.json:json:20141113'
18 compile 'commons-io:commons-io:2.4'
19 compile 'net.sourceforge.argparse4j:argparse4j:0.5.0'
20 }
21
22 jar {
23 manifest {
24 attributes(
25 'Implementation-Title': project.name,
26 'Implementation-Version': project.version,
27 'Main-Class': project.mainClassName,
28 )
29 }
30 }