forked from ssadedin/graxxia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·54 lines (44 loc) · 1.14 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
51
52
53
apply plugin: 'groovy'
project.ext {
VERSION="0.0.1"
STAGE="build/stage/graxxia-$VERSION"
}
repositories {
mavenCentral()
}
configurations {
compile
}
dependencies {
groovy group: 'org.codehaus.groovy', name: 'groovy', version: '2.3.11'
groovy group: 'org.apache.ivy', name:'ivy', version:'2.2.0'
groovy 'com.lowagie:itext:2.1.7'
groovy 'org.apache.commons:commons-math3:3.5'
groovy 'junit:junit:4.4'
groovy 'commons-cli:commons-cli:1.1'
groovy 'com.xlson.groovycsv:groovycsv:1.0'
groovy 'log4j:log4j:1.2.17'
compile files(fileTree(dir:'lib', includes:['*.jar']))
}
// Bundle all dependencies into output library
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
exclude "groovy/**"
exclude "org/codehaus/**"
exclude "META-INF/groovy*"
exclude "META-INF/**/*groovy*"
exclude "META-INF/BCKEY*"
exclude "org/bouncycastle/**"
}
groovydoc {
}
task doc << {
groovydoc {
packageNames = ['']
destinationDir = new File('doc')
source = 'src/main/groovy'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.4'
}