-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
executable file
·41 lines (35 loc) · 1.08 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
group 'BitcoinLatina'
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.8
//create a single Jar with all dependencies
task customFatJar(type: Jar) {
manifest {
attributes 'Main-Class': 'ui.Init'
}
baseName = 'test'
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
} {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
with jar
}
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.json', name: 'json', version: '20170516'
compile 'com.google.code.gson:gson:2.8.2'
compile('org.web3j:core:3.2.0')
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.10.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.10.0'
compile 'de.codecentric.centerdevice:centerdevice-nsmenufx:2.1.5'
compile 'org.rauschig:jarchivelib:0.7.1'
}