-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathbuild.gradle
46 lines (37 loc) · 1.45 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
buildscript {
repositories { jcenter() }
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:latest.release'
}
}
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'spring-boot'
group = 'com.netflix.spring'
targetCompatibility = '1.8'
sourceCompatibility = '1.8'
repositories {
jcenter()
maven { url 'http://repo.spring.io/snapshot' }
maven { url 'https://dl.bintray.com/netflixoss/maven' }
}
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-netflix:1.1.0.BUILD-SNAPSHOT'
}
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.boot:spring-boot-starter-aop'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
compile 'org.springframework.cloud:spring-cloud-starter-hystrix'
compile 'org.springframework.cloud:spring-cloud-starter-feign'
compile 'com.netflix.spring:spring-cloud-netflix-contrib:latest.release'
compile 'com.netflix.spectator:spectator-api:0.30.0'
compile 'com.netflix.spectator:spectator-reg-servo:0.30.0'
compile 'com.netflix.spectator:spectator-ext-sandbox:0.30.0'
compile 'com.netflix.servo:servo-atlas:0.11.2'
compile 'org.projectlombok:lombok:latest.release'
}