-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (46 loc) · 1.51 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
plugins {
id 'groovy'
id 'java'
id 'idea'
}
group 'me.zhangtai'
version '1.0-SNAPSHOT'
sourceSets {
main {
groovy {
srcDirs = ['vars', 'src']
}
}
test {
groovy {
srcDirs = ['test']
}
}
}
repositories {
mavenCentral()
maven { url 'https://repo.jenkins-ci.org/releases/' }
maven { url 'https://repo.jenkins-ci.org/public/' }
flatDir {
dirs 'libs'
}
}
dependencies {
implementation 'org.codehaus.groovy:groovy-all:2.4.12'
compile 'org.apache.ivy:ivy:2.5.0'
compile 'org.jenkins-ci.main:jenkins-core:2.286'
implementation group: 'org.kohsuke.stapler', name: 'stapler', version: '1.263'
testImplementation group: 'org.jenkins-ci.plugins.workflow', name: 'workflow-job', version: '2.40'
implementation group: 'org.jenkins-ci.plugins.workflow', name: 'workflow-step-api', version: '2.23'
implementation group: 'org.jenkins-ci.plugins', name: 'pipeline-utility-steps', version: '2.7.1'
testImplementation group: 'org.jenkins-ci.plugins.workflow', name: 'workflow-cps', version: '2.90'
testImplementation "com.lesfurets:jenkins-pipeline-unit:1.9"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
compile fileTree(dir: 'libs', include: ['*.jar'])
}
test {
useJUnitPlatform()
}