-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
56 lines (48 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
54
55
56
plugins {
id 'groovy'
id 'maven-publish'
id 'jacoco'
id "org.sonarqube" version "3.2.0"
id 'net.wooga.jenkins-pipeline'
}
import com.wooga.jenkins.VersionPlugin
plugins.apply(VersionPlugin)
group = 'com.wooga'
version = '1.20.1'
description = 'Atlas Jenkins pipeline shared library'
java.sourceCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
maven {
url = uri('https://repo.jenkins-ci.org/releases/')
}
maven {
url = uri("https://repo.jenkins-ci.org/public")
}
}
dependencies {
implementation 'com.cloudbees:groovy-cps:1.12'
implementation group: 'org.jenkinsci.plugins', name: 'pipeline-model-definition', version: '1.2', ext: 'jar'
implementation 'org.codehaus.groovy:groovy-all:2.4.21'
testImplementation "org.spockframework:spock-core:1.3-groovy-2.4"
testImplementation project(':atlas-jenkins-pipeline-test')
testImplementation 'com.github.ben-manes.caffeine:caffeine:2.9.2'
}
jacocoTestReport {
dependsOn test
reports {
xml.enabled true
}
}
sourceSets {
main {
groovy {
srcDirs = ['src/', 'vars/']
}
}
test {
groovy {
srcDirs = ['test/groovy/']
}
}
}