forked from macg33zr/pipelineUnit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (29 loc) · 765 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
apply plugin: 'groovy'
repositories {
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.4.11'
/**
* JenkinsPipelineUnit for testing pipelines from:
* https://github.com/lesfurets/JenkinsPipelineUnit
*/
testCompile 'com.lesfurets:jenkins-pipeline-unit:1.1'
/**
* For Spock unit tests
*/
testCompile 'org.spockframework:spock-core:1.1-groovy-2.4'
testCompile 'cglib:cglib-nodep:3.2.2'
testCompile 'org.objenesis:objenesis:1.2'
testCompile 'org.assertj:assertj-core:3.7.0'
}
test {
systemProperty "pipeline.stack.write", System.properties["pipeline.stack.write"]
}
sourceSets {
test {
groovy {
srcDirs= ['pipelineTests/groovy']
}
}
}