-
Notifications
You must be signed in to change notification settings - Fork 39
/
build.gradle
53 lines (47 loc) · 1.15 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
plugins {
id 'java'
id 'groovy'
id 'maven'
id 'net.linguica.maven-settings' version '0.5'
}
ext {
project_jdk = '1.8'
nexusUrl = System.getProperty('nexus.url', 'https://artifacts.camunda.com/artifactory')
mavenSettingsFile = System.getProperty('maven.settings.file', System.getProperty('user.home') + "/.m2/settings.xml")
}
mavenSettings {
userSettingsFileName mavenSettingsFile
}
repositories {
maven {
name 'camunda-nexus'
url 'https://artifacts.camunda.com/artifactory/internal/'
}
mavenLocal()
}
configurations {
ivy
}
dependencies {
testImplementation 'org.codehaus.groovy:groovy-all:2.4.15'
testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.15'
testCompile 'junit:junit:4.12'
testCompile('org.yaml:snakeyaml:1.17')
ivy group: 'org.apache.ivy', name: 'ivy', version: '2.4.0'
}
sourceSets {
test {
groovy.srcDirs 'test'
}
resources {
files 'test/*.yml'
}
}
test {
afterTest { desc, result ->
logger.quiet "${result.resultType} ${desc.name} [${desc.className}]"
}
}
tasks.withType(GroovyCompile) {
groovyClasspath += configurations.ivy
}