-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (29 loc) · 1.19 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
plugins {
id "io.spring.dependency-management" version "1.0.2.RELEASE"
id 'org.springframework.boot' version '1.5.7.RELEASE'
}
subprojects {
apply plugin: "java"
apply plugin: "io.spring.dependency-management"
apply plugin: 'org.springframework.boot'
sourceCompatibility = theSourceCompatibility
targetCompatibility = theSourceCompatibility
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${theSpringBootVersion}"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${theSpringCloudVersion}"
}
}
dependencies {
compile "org.springframework.boot:spring-boot-starter"
compile "org.springframework.boot:spring-boot-starter-actuator"
compile "org.springframework.cloud:spring-cloud-starter-eureka"
compile "org.springframework.cloud:spring-cloud-starter-feign"
compile "org.springframework.cloud:spring-cloud-starter-hystrix"
compile "org.springframework.cloud:spring-cloud-starter-hystrix-dashboard"
}
repositories {
mavenLocal()
maven { url "http://local.nexus.com/nexus/content/groups/public/" }
}
}