forked from springfox/springfox
/
build.gradle
48 lines (40 loc) · 1.39 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-webflux"
implementation "org.springframework.boot:spring-boot-starter-data-rest"
implementation "org.codehaus.groovy:groovy-all:$groovy"
implementation 'org.slf4j:slf4j-simple:1.7.30'
implementation "javax.validation:validation-api:$validationApiVersion"
testImplementation libs.test
testImplementation "org.skyscreamer:jsonassert:$jsonAssert"
testImplementation "org.springframework.boot:spring-boot-starter-test"
implementation project(':springfox-boot-starter')
implementation(project(path: ':springfox-swagger-ui')) {
exclude group: 'org.springframework',
module: 'spring-web'
}
}
// 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[]