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 12:17:24 +00:00
|
|
|
buildscript {
|
|
|
|
ext {
|
|
|
|
springBootVersion = '1.5.2.RELEASE'
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
2017-04-16 15:12:27 +00:00
|
|
|
classpath('io.spring.gradle:dependency-management-plugin:0.5.4.RELEASE')
|
2017-04-16 12:17:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'org.springframework.boot'
|
|
|
|
|
|
|
|
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-data-jpa')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-data-rest')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-web')
|
2017-04-16 15:12:27 +00:00
|
|
|
compile('org.springframework.cloud:spring-cloud-starter-eureka')
|
|
|
|
testCompile('org.springframework.cloud:spring-cloud-starter-eureka-server')
|
2017-04-16 12:17:24 +00:00
|
|
|
testCompile('rg.springframework.boot:spring-boot-starter-test')
|
|
|
|
}
|
2017-04-16 15:12:27 +00:00
|
|
|
|
|
|
|
dependencyManagement {
|
|
|
|
imports {
|
|
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:Camden.SR5"
|
|
|
|
}
|
|
|
|
}
|