forked from dhorions/boxable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
35 lines (30 loc) · 696 Bytes
/
build.gradle
File metadata and controls
35 lines (30 loc) · 696 Bytes
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
task wrapper(type: Wrapper) {
gradleVersion = '2.13'
}
apply plugin: 'java'
sourceCompatibility = 1.7
/*
* Gets the version name from the latest Git tag
*/
def getVersionName = {
->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags'
standardOutput = stdout
}
return stdout.toString().trim()
}
version = getVersionName()
group = 'com.github.dgautier'
repositories {
mavenCentral()
}
dependencies {
compile 'org.apache.pdfbox:pdfbox:2.0.0-RC2'
compile 'org.slf4j:slf4j-api:1.7.10'
compile 'com.google.guava:guava:18.0'
compile 'org.apache.commons:commons-csv:1.2'
testCompile 'junit:junit:4.12'
testCompile 'commons-io:commons-io:2.4'
}