-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
76 lines (65 loc) · 2.07 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
plugins {
id "com.github.hierynomus.license" version "0.16.1"
id 'nebula.release' version '13.0.0'
}
// version='2.0.2'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
// apply plugin: 'maven'
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://dist.xebialabs.com/public/maven2'
}
}
// These are used by nebula.release
if (!project.hasProperty('release.scope')) {
project.ext['release.scope'] = 'patch'
}
if (!project.hasProperty('release.useLastTag')) {
project.ext['release.useLastTag'] = true
}
test {
// auto detected Unit tests only, exclude the end to end integration test
exclude '**/*IntegrationTest.class'
// show standard out and standard error of the test JVM(s) on the console
testLogging.showStandardStreams = true
}
task integrationTest(type: Test, dependsOn: ['build']) {
// do not automatically scan for tests
scanForTestClasses = false
// explicitly include the integration test
include '**/*IntegrationTest.class'
// show standard out and standard error of the test JVM(s) on the console
testLogging.showStandardStreams = true
}
dependencies {
// Place rest-assured before JUnit dependency to make sure correct Hamcrest is used
testImplementation 'io.rest-assured:rest-assured:3.2.0'
testImplementation 'junit:junit:4.11'
testImplementation 'com.googlecode.json-simple:json-simple:1.1.1'
testImplementation 'org.assertj:assertj-core:3.6.2'
testImplementation "org.testcontainers:testcontainers:1.15.0"
testImplementation 'org.slf4j:slf4j-simple:1.8.0-beta2'
testImplementation 'org.skyscreamer:jsonassert:1.5.0'
implementation 'com.google.guava:guava:23.0'
implementation 'org.yaml:snakeyaml:1.24'
}
license {
header rootProject.file('License.md')
strictCheck false
exclude '**/*.png'
exclude '**/*.txt'
exclude '**/*.json'
exclude '**/*.yml'
exclude '**/*.yaml'
exclude '**/*.xml'
exclude '**/*.html'
exclude '**/*.properties'
exclude '**/*.pyc'
exclude '**/Dockerfile'
ext.year = Calendar.getInstance().get(Calendar.YEAR)
ext.name = 'XEBIALABS'
}