-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
57 lines (48 loc) · 1.15 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
plugins {
id 'groovy'
id 'idea'
}
group 'org.v1v.jenkinsci.shared'
version '0.1-SNAPSHOT'
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
sourceSets {
main {
groovy {
srcDirs = ['vars']
}
resources {
srcDirs = ['resources']
}
}
test {
groovy {
srcDirs = ['src/test/groovy']
}
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url 'http://repo.jenkins-ci.org/releases/' }
mavenCentral()
jcenter()
maven {
url 'https://jitpack.io'
}
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.4.8'
testCompile 'org.jenkins-ci.main:jenkins-core:2.179'
testCompile 'org.spockframework:spock-core:1.2-groovy-2.4'
// Jenkins plugins
compile group: 'org.jenkins-ci.plugins', name: 'credentials', version: '2.1.13', ext: 'jar'
compile group: 'org.jenkins-ci.plugins', name: 'credentials-binding', version: '1.13', ext: 'jar'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'com.lesfurets', name: 'jenkins-pipeline-unit', version: '1.2'
compile 'com.github.AbletonDevTools:jenkins-pipeline-mocks:0.7.2'
}