/
build.gradle
48 lines (42 loc) · 1.52 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
buildscript {
ext {
springBootVersion = '2.3.1.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
configurations {
//Logback causing spring boot errors
all*.exclude group: 'ch.qos.logback'
}
dependencies {
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-data-rest"
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation "com.h2database:h2"
implementation "org.codehaus.groovy:groovy-all:$groovy"
implementation libs.clientProvided
implementation "javax.validation:validation-api:$validationApiVersion"
implementation 'org.slf4j:slf4j-simple:1.7.30'
testImplementation libs.test
testImplementation "org.skyscreamer:jsonassert:${jsonAssert}"
testImplementation "org.springframework.boot:spring-boot-starter-test"
implementation project(':springfox-swagger1')
implementation project(':springfox-swagger2')
implementation project(':springfox-data-rest')
implementation project(':springfox-petstore')
implementation project(':springfox-bean-validators')
}
// tag::update-contract-tests[]
// NOTE: Uncomment to bulk update contracts
//test {
// systemProperty("contract.tests.root", "$projectDir/src/test/resources")
// systemProperty("contract.tests.update", true)
//}
// end::update-contract-tests[]