35 lines
842 B
Groovy
35 lines
842 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-web'
|
||
|
implementation 'org.mapstruct:mapstruct:1.5.3.Final'
|
||
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.3'
|
||
|
compileOnly 'org.projectlombok:lombok'
|
||
|
annotationProcessor 'org.projectlombok:lombok'
|
||
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.3.Final'
|
||
|
|
||
|
|
||
|
testImplementation platform('org.junit:junit-bom:5.9.1')
|
||
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||
|
}
|
||
|
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|