-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
48 lines (41 loc) · 1.43 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
/*
* This build file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Groovy project to get you started.
* For more details take a look at the Groovy Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/3.3/userguide/tutorial_groovy_projects.html
*/
// Apply the groovy plugin to add support for Groovy
apply plugin: 'groovy'
apply plugin: 'jacoco'
// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
mavenCentral()
}
dependencies {
// Use the latest Groovy version for building this library
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.7'
// Use the awesome Spock testing and specification framework
testCompile group: 'org.spockframework', name: 'spock-core', version: '1.0-groovy-2.4'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'com.lesfurets', name: 'jenkins-pipeline-unit', version: '0.11+'
}
sourceSets {
main {
resources {
srcDirs = ['src/main/groovy']
include '**/*.jenkins'
}
}
}
test {
ignoreFailures = true
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = false
}
}