35 lines
995 B
Groovy
35 lines
995 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenLocal()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springboot_version}"
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
jcenter()
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'org.springframework.boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springcloud_version}"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
compile("org.springframework.boot:spring-boot-starter-web")
|
|
compile("org.springframework.cloud:spring-cloud-starter-openfeign")
|
|
compile('org.springframework.cloud:spring-cloud-starter-netflix-ribbon')
|
|
compile('com.h2database:h2:1.4.196')
|
|
testCompile("org.springframework.cloud:spring-cloud-starter-contract-stub-runner")
|
|
testCompile("org.springframework.boot:spring-boot-starter-test")
|
|
}
|