-
Notifications
You must be signed in to change notification settings - Fork 42
/
build.gradle
42 lines (36 loc) · 1.06 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
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'idea'
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
maven { url "http://repo.jenkins-ci.org/releases/" }
}
dependencies {
compile 'org.ini4j:ini4j:0.5.1'
compile 'org.codehaus.groovy:groovy-all:2.4.12'
testCompile group: 'junit', name: 'junit', version: '4.11'
compile 'org.jenkins-ci.plugins:job-dsl-core:1.77'
testCompile('org.spockframework:spock-core:0.7-groovy-2.0')
{
exclude module: 'groovy-all'
}
compile 'com.github.cfpb:jenkins-automation:main-SNAPSHOT'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.8'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}
task rest(type: JavaExec) {
main = 'jenkins.automation.rest.RestApiScriptRunner'
classpath = sourceSets.main.runtimeClasspath
systemProperties System.getProperties()
}
sourceSets {
main {
groovy {
srcDirs = ['src/main/groovy', 'jobs' ]
}
}
}