34 lines
937 B
Groovy
34 lines
937 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.1.4.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'com.rest'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '8'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'io.springfox:springfox-swagger2:2.6.1'
|
|
implementation 'io.springfox:springfox-swagger-ui:2.6.1'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
runtimeOnly 'com.h2database:h2'
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|