-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (45 loc) · 1.16 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
54
55
56
57
def BUILD_NUMBER = project.hasProperty('BUILD_NUMBER') ? "$BUILD_NUMBER" : "undef"
apply plugin: 'java-library'
apply plugin: 'com.bmuschko.nexus'
apply plugin: 'java-library'
repositories {
mavenLocal()
mavenCentral()
}
buildscript {
repositories {
jcenter()
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
archivesBaseName='xlsx2csv'
project.group = 'com.kenshoo'
project.version = "0.1.$BUILD_NUMBER"
apply from: "publish.gradle"
compileJava {
options.compilerArgs << '-Werror'
}
compileTestJava {
options.compilerArgs << '-Werror'
}
project.test {
beforeTest { descriptor ->
logger.lifecycle('running ' + descriptor)
}
}
dependencies {
api 'org.apache.commons:commons-csv:1.2'
api 'commons-io:commons-io:2.4'
api 'org.apache.commons:commons-lang3:3.4'
api 'org.apache.commons:commons-math3:3.6.1'
api 'com.monitorjbl:xlsx-streamer:1.0.2'
api 'com.google.guava:guava:21.0'
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.7.12'
}