37 lines
973 B
Groovy
37 lines
973 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'org.springframework.boot' version '3.0.0'
|
||
|
id 'io.spring.dependency-management' version '1.1.0'
|
||
|
}
|
||
|
|
||
|
group 'org.example'
|
||
|
version '1.0-SNAPSHOT'
|
||
|
|
||
|
configurations {
|
||
|
compileOnly {
|
||
|
extendsFrom annotationProcessor
|
||
|
}
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.3'
|
||
|
implementation 'org.mapstruct:mapstruct:1.5.3.Final'
|
||
|
|
||
|
compileOnly 'org.projectlombok:lombok'
|
||
|
annotationProcessor 'org.projectlombok:lombok'
|
||
|
runtimeOnly 'org.postgresql:postgresql'
|
||
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.3.Final'
|
||
|
|
||
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
||
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
||
|
}
|
||
|
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|