forked from hmrc/jenkins-jobs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (31 loc) · 858 Bytes
/
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
apply plugin: 'groovy'
sourceSets {
jobs {
groovy {
srcDirs 'jobs'
}
}
}
repositories {
mavenLocal()
maven { url 'http://jcenter.bintray.com'}
maven { url 'https://dl.bintray.com/hmrc/releases'}
}
dependencies {
compile 'uk.gov.hmrc:jenkins-job-builders:6.1.0'
compile 'org.codehaus.groovy:groovy:2.1.3'
compile ('com.google.guava:guava:11.0.1') {
exclude module: 'jsr305'
}
compile ('org.jenkins-ci.plugins:job-dsl-core:1.29') {
exclude module: 'ivy'
}
testCompile 'org.spockframework:spock-core:0.7-groovy-2.0'
testCompile 'org.jenkins-ci:version-number:1.1'
}
task relativeDependencies(type: Copy) {
from configurations.compile
into 'build/libs'
include '**/**/jenkins-job-builders*.jar'
}
project.tasks.build.dependsOn(relativeDependencies)