]> nmode's Git Repositories - signal-cli/blob - build.gradle
Update dependencies
[signal-cli] / build.gradle
1 apply plugin: 'java'
2 apply plugin: 'application'
3 apply plugin: 'eclipse'
4
5 sourceCompatibility = JavaVersion.VERSION_1_8
6 targetCompatibility = JavaVersion.VERSION_1_8
7
8 mainClassName = 'org.asamk.signal.Main'
9
10 version = '0.6.7'
11
12 compileJava.options.encoding = 'UTF-8'
13
14 repositories {
15 mavenLocal()
16 mavenCentral()
17 }
18
19 dependencies {
20 compile 'com.github.turasa:signal-service-java:2.15.3_unofficial_8'
21 compile 'org.bouncycastle:bcprov-jdk15on:1.64'
22 compile 'net.sourceforge.argparse4j:argparse4j:0.8.1'
23 compile 'com.github.hypfvieh:dbus-java:3.2.0'
24 compile 'org.slf4j:slf4j-nop:1.7.30'
25 }
26
27 jar {
28 manifest {
29 attributes(
30 'Implementation-Title': project.name,
31 'Implementation-Version': project.version,
32 'Main-Class': project.mainClassName,
33 )
34 }
35 }
36
37 run {
38 if (project.hasProperty("appArgs")) {
39 // allow passing command-line arguments to the main application e.g.:
40 // $ gradle run -PappArgs="['-u', '+...', 'daemon', '--json']"
41 args Eval.me(appArgs)
42 }
43 }