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-03-21 21:14:59 +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()
|
|
|
|
}
|
|
|
|
|
2017-04-16 10:33:38 +00:00
|
|
|
dependencyManagement {
|
|
|
|
imports {
|
|
|
|
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.SR5'
|
|
|
|
}
|
|
|
|
}
|
2017-03-21 21:14:59 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-data-jpa')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-data-rest')
|
|
|
|
runtime('com.h2database:h2')
|
|
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
2017-04-01 12:00:40 +00:00
|
|
|
compile('mysql:mysql-connector-java')
|
2017-04-01 14:04:20 +00:00
|
|
|
compile('org.hibernate:hibernate-validator')
|
2017-04-16 10:33:38 +00:00
|
|
|
compile('org.springframework.cloud:spring-cloud-starter-eureka')
|
|
|
|
testCompile('org.springframework.cloud:spring-cloud-starter-eureka-server')
|
|
|
|
|
2017-03-21 21:14:59 +00:00
|
|
|
}
|