-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
53 lines (41 loc) · 989 Bytes
/
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
51
52
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
mainClassName = "hu.sztaki.phytree.Main"
test {
testLogging.showStandardStreams = true
}
repositories {
mavenCentral()
}
jar {
}
dependencies {
testCompile 'junit:junit:4.11'
compile 'commons-configuration:commons-configuration:1.9'
}
task(runSimple, dependsOn: 'classes', type: JavaExec) {
main = 'hu.sztaki.phytree.Main'
classpath = sourceSets.main.runtimeClasspath
}
task copyToLib(type: Copy) {
into "$buildDir/output/lib"
from configurations.runtime
}
jar {
manifest {
attributes("Implementation-Title": "PhyTreeSearch",
"Implementation-Version": 0.8,
"Main-Class": "hu.sztaki.phytree.Main")
}
dependsOn configurations.runtime
from {
(configurations.runtime).collect {
it.isDirectory() ? it : zipTree(it)
}
} {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
}