39 lines
783 B
Groovy
39 lines
783 B
Groovy
buildscript {
|
|
ext {
|
|
springBootVersion = '1.5.2.RELEASE'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath('io.spring.gradle:dependency-management-plugin:0.5.4.RELEASE')
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
|
|
dependencies {
|
|
compile('org.springframework.boot:spring-boot-starter-web')
|
|
compile('org.springframework.cloud:spring-cloud-starter-eureka')
|
|
testCompile('org.springframework.cloud:spring-cloud-starter-eureka-server')
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:Camden.SR5"
|
|
}
|
|
}
|