2020-09-20 18:11:34 +07:00
|
|
|
plugins {
|
2021-03-03 09:29:52 +07:00
|
|
|
id 'org.springframework.boot' version '2.4.3'
|
|
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
2020-09-20 18:11:34 +07:00
|
|
|
id 'java'
|
|
|
|
id 'idea'
|
|
|
|
id 'eclipse'
|
2018-05-10 13:49:55 +07:00
|
|
|
}
|
2017-08-08 10:01:06 +07:00
|
|
|
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
2018-09-28 00:22:10 +07:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2017-08-08 10:01:06 +07:00
|
|
|
|
|
|
|
repositories {
|
2020-09-20 18:11:34 +07:00
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
2017-08-08 10:01:06 +07:00
|
|
|
}
|
|
|
|
|
2020-09-20 18:11:34 +07:00
|
|
|
configurations {
|
|
|
|
compileOnly.extendsFrom annotationProcessor
|
2017-08-18 11:09:07 +07:00
|
|
|
}
|
2017-08-08 10:01:06 +07:00
|
|
|
|
|
|
|
dependencies {
|
2020-09-20 18:11:34 +07:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-hateoas'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.3'
|
|
|
|
implementation 'org.flywaydb:flyway-core'
|
|
|
|
implementation 'io.jsonwebtoken:jjwt:0.9.1'
|
|
|
|
implementation 'joda-time:joda-time:2.10.6'
|
|
|
|
|
|
|
|
runtimeOnly 'com.h2database:h2'
|
|
|
|
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
|
|
|
|
testImplementation 'io.rest-assured:rest-assured:3.1.1'
|
|
|
|
testImplementation 'io.rest-assured:spring-mock-mvc:3.1.1'
|
|
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
2021-03-03 09:29:52 +07:00
|
|
|
testImplementation 'org.junit.vintage:junit-vintage-engine'
|
2020-09-20 18:11:34 +07:00
|
|
|
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
|
|
|
|
testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:2.1.3'
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2017-08-08 10:01:06 +07:00
|
|
|
}
|