-
Notifications
You must be signed in to change notification settings - Fork 352
/
Copy pathbuild.gradle
48 lines (42 loc) · 1.67 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
apply plugin: 'java'
apply plugin: 'maven'
group = 'com.escalon.springfox'
version = '0.0.1-SNAPSHOT'
description = """spring-integration"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
jar {
dependsOn 'test'
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
resources {
srcDirs = ["target/generated-snippets", "src/main/resources"]
// include "**/*.springfox"
}
}
}
}
clean {
delete 'out' // interpreted relative to the project directory
}
dependencies {
compile group: 'org.springframework.boot', name: 'spring-boot-starter-actuator', version: '2.3.1.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-integration', version: '2.3.1.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '2.5.1'
compile(group: 'org.springframework.integration', name: 'spring-integration-http', version: '5.3.2.RELEASE') {
exclude(module: 'commons-logging')
exclude(module: 'commons-logging-api')
}
compile group: 'io.springfox', name: 'springfox-swagger2', version: springfoxVersion
compile group: 'io.springfox', name: 'springfox-spring-webmvc', version: springfoxVersion
compile group: 'io.springfox', name: 'springfox-spring-integration-webmvc', version: springfoxVersion
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: springfoxVersion
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '2.3.1.RELEASE'
testCompile group: 'org.springframework.restdocs', name: 'spring-restdocs-mockmvc', version: '2.0.2.RELEASE'
}