forked from springfox/springfox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (41 loc) · 1.41 KB
/
build.gradle
File metadata and controls
48 lines (41 loc) · 1.41 KB
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
ext {
limits = [
'instruction': 95,
'branch' : 89,
'line' : 95,
'complexity' : 90,
'method' : 95,
'class' : 100
]
}
dependencies {
compile libs.swagger2Core
compile project(':springfox-spi')
compile project(':springfox-schema')
compile project(':springfox-swagger-common')
compile project(':springfox-spring-web')
provided project(':springfox-spring-webmvc')
provided project(':springfox-spring-webflux')
compile libs.core
compile libs.spring
provided libs.springProvidedWithFlux
provided libs.springProvided
provided libs.clientProvided
provided libs.springBootProvided
compile "org.mapstruct:mapstruct:$mapstruct"
annotationProcessor "org.mapstruct:mapstruct-processor:$mapstruct"
compile group: 'org.springframework.boot', name: 'spring-boot-autoconfigure', version: springBoot
testCompile project(':springfox-core')
testCompile project(':springfox-core').sourceSets.test.output
testCompile project(':springfox-schema').sourceSets.test.output
testCompile project(':springfox-swagger-common').sourceSets.test.output
testCompile project(':springfox-spring-web').sourceSets.test.output
testCompile project(':springfox-spring-webmvc').sourceSets.test.output
testCompile libs.test
}
compileJava {
options.compilerArgs += [
"-Amapstruct.defaultComponentModel=spring",
"-Amapstruct.unmappedTargetPolicy=ERROR"
]
}