-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
53 lines (43 loc) · 1.23 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
group 'com.tdongsi'
version '1.0-SNAPSHOT'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'idea'
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
sourceSets {
main {
groovy {
srcDirs = ['vars', 'src']
}
}
test {
groovy {
srcDirs = ['test']
}
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url 'http://repo.jenkins-ci.org/releases/' }
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.4.8'
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'org.jenkins-ci.main:jenkins-core:2.23'
// 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'
compile group: 'org.apache.maven', name: 'maven-model', version: '3.3.9'
testCompile group: 'com.lesfurets', name: 'jenkins-pipeline-unit', version: '1.1'
testCompile group: 'org.spockframework', name: 'spock-core', version: '1.1-groovy-2.4'
// TRICKY: The lib folder contains all other plugins *JAR* files
// if not found in Maven
compile fileTree(dir: 'lib', include: ['*.jar'])
}