-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
71 lines (57 loc) · 2.04 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
65
66
67
68
69
70
71
plugins {
id 'groovy'
}
repositories {
mavenCentral()
maven {
url 'https://repo.jenkins-ci.org/public/'
}
}
test {
systemProperty 'groovy.grape.enable', 'false'
useJUnitPlatform()
}
compileGroovy {
groovyOptions.forkOptions.jvmArgs = [ '-Dgroovy.grape.enable=false' ]
}
compileTestGroovy {
groovyOptions.forkOptions.jvmArgs = [ '-Dgroovy.grape.enable=false' ]
}
dependencies {
implementation group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.5.22'
implementation group: 'org.codehaus.groovy', name: 'groovy-dateutil', version: '2.5.22'
implementation group: 'com.cloudbees', name: 'groovy-cps', version: '3773.v505e0052522c'
testImplementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation group: 'org.jenkins-ci.main', name: 'jenkins-core', version: '2.409'
implementation group: 'org.jenkins-ci.plugins.workflow', name: 'workflow-step-api', version: '625.vd896b_f445a_f8', ext: 'jar'
implementation group: 'org.jenkinsci.plugins', name: 'pipeline-model-definition', version: '2.2169.vee7cd0efc13e', ext: 'jar'
implementation 'org.jenkins-ci.plugins:job-dsl-core:1.87'
implementation group: 'org.jenkins-ci.plugins', name: 'scm-api', version: '616.ve67136f6c77d', ext: 'jar'
testImplementation group: 'org.spockframework', name: 'spock-core', version: '2.3-groovy-2.5'
testImplementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.16.0'
testImplementation group: 'com.lesfurets', name: 'jenkins-pipeline-unit', version: '1.17'
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.24.2'
testImplementation group: 'net.javacrumbs.json-unit', name: 'json-unit-fluent', version: '2.36.0'
testRuntimeOnly 'org.objenesis:objenesis:3.3'
}
sourceSets {
jobs {
groovy {
srcDirs 'jobs'
compileClasspath += main.compileClasspath
}
}
main {
groovy {
srcDirs = ['src']
}
}
test {
groovy {
srcDirs = ['test']
}
resources {
srcDirs = ['testResources']
}
}
}