-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathbuild.gradle
49 lines (38 loc) · 1.25 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
49
plugins {
id 'org.springframework.boot' version '2.0.8.RELEASE'
id 'java'
}
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'groovy'
jar {
baseName = 'feign'
version = '0.1.0'
}
ext {
// https://spring.io/projects/spring-cloud 의 Release Trains 부분을 보세요.
springCloudVersion = 'Finchley.RELEASE'
}
repositories {
jcenter()
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
dependencies {
compile("org.projectlombok:lombok:1.18.0")
compile("org.springframework.cloud:spring-cloud-starter-openfeign")
compile("org.springframework.boot:spring-boot-starter-web")
compile("commons-io:commons-io:2.6")
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile("org.spockframework:spock-core:1.1-groovy-2.4")
testCompile("org.spockframework:spock-spring:1.1-groovy-2.4")
}
configurations {
all*.exclude group: 'commons-logging', module: 'commons-logging' // replaced with jcl-over-slf4j
all*.exclude group: 'log4j', module: 'log4j' // replaced with log4j-over-slf4j
all*.exclude module: 'hsqldb'
all*.exclude module: 'slf4j-log4j12'
}