46 lines
1.2 KiB
Groovy
46 lines
1.2 KiB
Groovy
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()
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.SR5'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile('org.springframework.boot:spring-boot-starter-data-jpa')
|
|
compile('org.springframework.boot:spring-boot-starter-data-rest')
|
|
runtime('com.h2database:h2')
|
|
compile('org.springframework.cloud:spring-cloud-starter-config')
|
|
compile('org.springframework.boot:spring-boot-starter-actuator')
|
|
compile('org.springframework.boot:spring-boot-starter-security')
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
compile('mysql:mysql-connector-java')
|
|
compile('org.hibernate:hibernate-validator')
|
|
compile('org.springframework.cloud:spring-cloud-starter-eureka')
|
|
compile('io.jsonwebtoken:jjwt:0.7.0')
|
|
compile project(':common')
|
|
testCompile('org.springframework.cloud:spring-cloud-starter-eureka-server')
|
|
|
|
}
|