This repository has been archived on 2022-07-05. You can view files and clone it, but cannot push or open issues/pull-requests.
2017-04-16 17:59:17 +00:00
|
|
|
buildscript {
|
|
|
|
ext {
|
|
|
|
springBootVersion = '1.5.2.RELEASE'
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'org.springframework.boot'
|
|
|
|
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyManagement {
|
|
|
|
imports {
|
|
|
|
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.SR5'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile('org.springframework.cloud:spring-cloud-starter-config')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-actuator')
|
2017-06-01 22:12:09 +00:00
|
|
|
compile('org.springframework.boot:spring-boot-starter-security')
|
2017-04-16 17:59:17 +00:00
|
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
|
|
compile('org.springframework.cloud:spring-cloud-starter-eureka')
|
|
|
|
compile('org.springframework.cloud:spring-cloud-starter-zuul')
|
|
|
|
testCompile('org.springframework.cloud:spring-cloud-starter-eureka-server')
|
|
|
|
|
|
|
|
}
|