forked from SAP-archive/cloud-s4-sdk-pipeline-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (32 loc) · 1.53 KB
/
build.gradle
File metadata and controls
40 lines (32 loc) · 1.53 KB
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
buildscript { repositories { mavenCentral() } }
apply plugin: 'groovy'
repositories {
mavenCentral()
maven { url "https://repo.jenkins-ci.org/public/"}
}
configurations { ivy }
dependencies {
compile group: 'org.jenkins-ci.main', name: 'jenkins-core', version: '2.150.2'
compile group: 'javax.servlet', name: 'servlet-api', version: '2.5'
compile group: 'org.jenkins-ci.plugins.workflow', name: 'workflow-cps', version: '2.38'
compile group: 'org.jenkins-ci.plugins', name: 'jacoco', version: '3.0.4'
compile group: 'org.jenkins-ci.plugins', name: 'jacoco', version: '3.0.4', ext: 'jar'
compile group: 'org.jenkins-ci.plugins', name: 'junit', version: '1.26'
compile group: 'org.jenkins-ci.plugins', name: 'junit', version: '1.26', ext: 'jar'
compile group: 'org.jenkins-ci.plugins.workflow', name: 'workflow-cps-global-lib', version: '2.12'
compile group: 'org.jenkins-ci.plugins.workflow', name: 'workflow-cps-global-lib', version: '2.12', ext: 'jar'
compile files('libs/jenkins-library.jar') //FIXME Only for running the tests, find better option to do this
ivy group:'org.apache.ivy', name:'ivy', version:'2.4.0'
compile group:'org.apache.ivy', name:'ivy', version:'2.4.0'
testCompile group:'junit', name:'junit', version:'4.12'
testCompile 'com.lesfurets:jenkins-pipeline-unit:1.1'
}
sourceSets {
main {
groovy { srcDirs = ['vars/', 'src/']}
}
test {
groovy { srcDirs = ['test/']}
}
}
tasks.withType(GroovyCompile) { groovyClasspath += configurations.ivy }