2017-08-08 10:01:06 +07:00
|
|
|
buildscript {
|
|
|
|
ext {
|
|
|
|
springBootVersion = '1.5.6.RELEASE'
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'idea'
|
|
|
|
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.flywaydb:flyway-core')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-hateoas')
|
|
|
|
compile('org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.0')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-web')
|
2017-08-08 10:01:13 +07:00
|
|
|
compile('io.jsonwebtoken:jjwt:0.7.0')
|
2017-08-08 10:01:06 +07:00
|
|
|
compileOnly('org.projectlombok:lombok')
|
|
|
|
runtime('com.h2database:h2')
|
|
|
|
testCompile 'io.rest-assured:rest-assured:3.0.2'
|
|
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
|
|
testCompile('org.springframework.restdocs:spring-restdocs-mockmvc')
|
|
|
|
testCompile('org.mybatis.spring.boot:mybatis-spring-boot-starter-test:1.3.0')
|
|
|
|
}
|