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')
|
2017-04-16 13:18:22 +00:00
|
|
|
compile('org.springframework.cloud:spring-cloud-starter-config')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-actuator')
|
2017-05-27 18:31:24 +00:00
|
|
|
compile('org.springframework.boot:spring-boot-starter-security')
|
2017-03-21 21:14:59 +00:00
|
|
|
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')
|
2017-05-29 07:27:53 +00:00
|
|
|
compile('io.jsonwebtoken:jjwt:0.7.0')
|
2017-04-16 13:18:22 +00:00
|
|
|
compile project(':common')
|
2017-04-16 10:33:38 +00:00
|
|
|
testCompile('org.springframework.cloud:spring-cloud-starter-eureka-server')
|
|
|
|
|
2017-03-21 21:14:59 +00:00
|
|
|
}
|