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
62 lines (52 loc) · 1.44 KB
/
build.gradle
File metadata and controls
62 lines (52 loc) · 1.44 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
apply plugin: 'groovy'
apply plugin: 'idea'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.7.RELEASE")
}
}
repositories {
jcenter()
}
apply plugin: 'war'
apply plugin: 'spring-boot'
apply plugin: 'com.ofg.uptodate'
configurations {
//Logback causing spring boot errors
all*.exclude group: 'ch.qos.logback'
}
mainClassName = 'com.foo.Bar'
ext {
limits = [
'instruction': 89.5,
'line' : 85,
'complexity' : 80,
'method' : 80,
'branch' : 85,
'class' : 94
]
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-actuator")
testCompile libs.test
testCompile 'org.skyscreamer:jsonassert:1.3.0'
compile(project(path: ':springfox-swagger1', configuration: 'testArtifacts')) {
exclude group: 'org.springframework', module: 'spring-web'
exclude group: 'org.aspectj'
}
compile(project(path: ':springfox-swagger2', configuration: 'testArtifacts')) {
exclude group: 'org.springframework', module: 'spring-web'
exclude group: 'org.aspectj'
}
compile(project(path: ':springfox-petstore')) {
exclude group: 'org.springframework', module: 'spring-web'
exclude group: 'org.aspectj'
}
compile(project(path: ':springfox-swagger-ui')) {
exclude group: 'org.springframework', module: 'spring-web'
}
}