-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (43 loc) · 1.36 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
buildscript {
ext {
springBootVersion = '2.0.2.RELEASE'
pactVersion = '3.5.0'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE")
classpath("au.com.dius:pact-jvm-consumer-junit_2.11:${pactVersion}")
}
}
repositories {
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'idea'
apply plugin: 'io.spring.dependency-management'
sourceCompatibility = 1.8
targetCompatibility = 1.8
test {
testLogging {
events "PASSED", "FAILED", "SKIPPED"
showStandardStreams = true
}
}
dependencies {
compile('org.springframework.boot:spring-boot-starter:2.0.2.RELEASE')
compile('org.springframework.boot:spring-boot-starter-data-rest')
compile('org.springframework.boot:spring-boot-starter-test:2.0.4.RELEASE')
testCompile('io.rest-assured:rest-assured:3.0.2')
testCompile("au.com.dius:pact-jvm-consumer-junit_2.11:${pactVersion}")
testCompile("au.com.dius:pact-jvm-provider-junit_2.11:3.5.0")
testCompile group: 'junit', name: 'junit', version: '4.12'
}
javadoc {
classpath += sourceSets.test.compileClasspath
source += sourceSets.test.allJava
}