-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (42 loc) · 1.09 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
42
43
44
45
46
47
48
49
50
group 'wingardium.java'
version '1.0.0-ALPHA'
apply plugin: 'java'
apply plugin: 'application'
mainClassName = "Reader"
sourceCompatibility = 1.8
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
}
}
jar {
manifest {
attributes("Implementation-Title": "SPC Reader Java",
"Implementation-Version": version)
}
}
task fatJar(type: Jar) {
manifest {
attributes('Implementation-Title': 'SPC Reader Java',
'Main-Class': 'Reader',
'Implementation-Version': version)
}
baseName = project.name + '-dist'
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
compile group: 'commons-io', name: 'commons-io', version: '2.5'
compile group: 'commons-cli', name: 'commons-cli', version: '1.3.1'
}