-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (42 loc) · 1.29 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: 'java'
apply plugin: 'jacoco'
def jversion= JavaVersion.VERSION_1_8
sourceCompatibility= jversion
targetCompatibility= jversion
if(JavaVersion.current() < jversion) {
throw new GradleException("Java >= " + jversion + " is required but you are running " + JavaVersion.current())
}
test {
testLogging {
events "passed", "skipped", "failed"
exceptionFormat "full"
}
}
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
jar {
manifest {
attributes "Main-Class": "excelToCsv.Main"
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
dependencies {
compile group: 'net.sourceforge.argparse4j', name: 'argparse4j', version: '0.8.1'
compile group: 'org.apache.poi', name: 'poi', version: '4.1.2'
compile group: 'org.apache.poi', name: 'poi-ooxml', version: '4.1.2'
compile group: 'org.apache.commons', name: 'commons-csv', version: '1.8'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
compile group: 'org.apache.commons', name: 'commons-text', version: '1.8'
compile group: 'net.sf.supercsv', name: 'super-csv', version: '2.4.0'
testCompile 'junit:junit:4.12'
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}