-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
64 lines (56 loc) · 1.62 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
58
59
60
61
62
63
64
apply plugin: 'groovy'
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'de.undercouch:gradle-download-task:3.4.3'
classpath "com.github.ben-manes:gradle-versions-plugin:0.20.0"
}
}
repositories {
mavenCentral()
jcenter()
mavenLocal()
maven { url = "https://repo.jenkins-ci.org/releases" }
}
sourceSets {
main {
groovy {
srcDirs 'src', 'vars'
}
}
test {
groovy {
srcDirs 'test'
}
}
}
dependencies {
implementation 'com.cloudbees:groovy-cps:1.22'
implementation 'org.codehaus.groovy:groovy-all:2.5.6'
implementation 'org.apache.ivy:ivy:2.4.0'
implementation 'org.jenkins-ci.main:jenkins-core:2.332.2'
def staplerGAV = 'org.kohsuke.stapler:stapler:1.255'
implementation staplerGAV
annotationProcessor staplerGAV
implementation 'org.jenkins-ci.plugins.workflow:workflow-step-api:2.19@jar'
implementation 'org.jenkins-ci.plugins:pipeline-utility-steps:2.2.0@jar'
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
testRuntimeOnly 'net.bytebuddy:byte-buddy:1.9.12'
testRuntimeOnly 'org.objenesis:objenesis:3.0.1'
testImplementation 'junit:junit:4.12'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.4.1'
testImplementation 'com.lesfurets:jenkins-pipeline-unit:1.8'
}
test {
useJUnitPlatform()
testLogging {
events 'passed', 'skipped', 'failed'
}
}
wrapper {
gradleVersion = '7.3'
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip"
}