You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
buildscript {
|
|
ext {
|
|
springBootVersion = '2.0.3.RELEASE'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'org.springframework.boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'com.trgis'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
|
|
ext {
|
|
springCloudVersion = 'Finchley.RELEASE'
|
|
}
|
|
|
|
dependencies {
|
|
compile('org.springframework.cloud:spring-cloud-starter-netflix-eureka-client')
|
|
compile('org.springframework.boot:spring-boot-starter-actuator')
|
|
compile('org.springframework.cloud:spring-cloud-starter-netflix-hystrix')
|
|
compile('org.springframework.cloud:spring-cloud-starter-netflix-hystrix-dashboard')
|
|
compile('org.springframework.cloud:spring-cloud-starter-netflix-turbine')
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
}
|
|
}
|
|
|