27 lines
509 B
Groovy
27 lines
509 B
Groovy
buildscript {
|
|
ext {
|
|
springBootVersion = '{@= bootVersion @}'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'spring-boot'
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom '{@= groupId @}:spring-cloud-dependencies:{@= version @}'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile '{@= groupId @}:spring-cloud-starter-config'
|
|
compile '{@= groupId @}:spring-cloud-starter-eureka'
|
|
}
|
|
|