-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
55 lines (47 loc) · 1005 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
53
54
55
apply plugin: "java"
apply plugin: "idea"
apply plugin: "eclipse"
apply plugin: "application"
mainClassName = "pete.Pete"
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'src/main/java'
}
}
test {
java {
srcDir 'src/test/java'
}
}
}
dependencies {
compile 'net.lingala.zip4j:zip4j:1.3.2'
compile 'org.apache.commons:commons-io:1.3.2'
compile 'net.sf.saxon:Saxon-HE:9.5.1-5'
compile files('./lib/bpp.jar')
compile files('./lib/BPMN-Reference-Validator.jar')
testCompile group: 'junit', name: 'junit', version: '4.+'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}
task deleteTmpDir(type: Delete){
delete ('tmp')
}
run {
if(project.hasProperty('args')){
args project.args.split('\\s+')
}
}
jar {
from ( configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } ) {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
manifest { attributes 'Main-Class': mainClassName }
}