forked from kevin-yen/JenkinsTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (31 loc) · 953 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
38
39
40
apply plugin: 'application'
apply plugin: 'distribution'
version = '1.4'
dependencies {
compile group: 'commons-cli', name: 'commons-cli', version: '1.3.1'
compile group: 'commons-codec', name: 'commons-codec', version: '1.10'
compile group: 'commons-io', name: 'commons-io', version: '2.5'
compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2'
compile group: 'org.json', name: 'json', version: '20160212'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.1.7'
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
repositories {
jcenter()
}
run {
mainClassName = 'com.liferay.jenkins.tools.JenkinsTools'
if (project.hasProperty('execArgs')) {
args(execArgs.split());
}
}
test {
testLogging {
events 'passed', 'skipped', 'failed'
exceptionFormat 'full'
showStandardStreams = true
}
}