-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
37 lines (29 loc) · 1001 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
apply plugin: 'groovy'
repositories {
mavenCentral()
}
dependencies {
groovy group: 'org.codehaus.groovy', name: 'groovy', version: '2.0.5'
groovy group: 'org.apache.ivy', name:'ivy', version:'2.2.0'
compile 'commons-cli:commons-cli:1.2'
compile 'org.codehaus.groovy:groovy-all:2.0.5'
compile ('com.lowagie:itext:4.2.0') {
//bouncycastle:bctsp-jdk14:138
exclude group: 'bouncycastle', module: 'bctsp-jdk14'
}
}
apply plugin:'application'
def mainClassName = 'edu.kirkley.util.AjaxClassPDFGenerator'
task uberjar(type: Jar) {
from files(sourceSets.main.output.classesDir)
//from configurations.runtime.asFileTree.files.collect { zipTree(it) }
from { sourceSets.main.output }
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
manifest {
attributes 'Main-Class': 'test.tree.App'
}
}