-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
43 lines (36 loc) · 852 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
37
38
39
40
41
42
43
apply plugin: 'groovy'
repositories {
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.4.13'
compile 'com.cloudbees:groovy-cps:1.1'
testCompile 'org.assertj:assertj-core:3.9.0'
testCompile "org.junit.jupiter:junit-jupiter-api:5.0.3"
testCompile 'org.junit.jupiter:junit-jupiter-params:5.0.3'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.0.3'
testRuntime 'org.junit.jupiter:junit-jupiter-params:5.0.3'
}
compileTestGroovy {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
compileGroovy {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
test {
useJUnitPlatform()
}
sourceSets {
main {
groovy {
srcDirs = ['src', 'vars']
}
}
test {
groovy {
srcDirs = ['test', 'varsTest']
}
}
}