Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ repositories {
mavenCentral()
}

ext {
snippetsDir = file('build/generated-snippets')
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
Expand Down Expand Up @@ -74,8 +78,11 @@ dependencies {

}

jar.enabled = false

tasks.named('test') {
delete file('build/generated-snippets')
outputs.dir snippetsDir
useJUnitPlatform()
}

Expand Down Expand Up @@ -121,8 +128,6 @@ tasks.register('copyOasToSwagger', Copy) {
dependsOn tasks.named('addAuthorization')
}



tasks.register('addAuthorization', Task) {
dependsOn 'openapi3'
doLast {
Expand All @@ -141,8 +146,6 @@ tasks.register('addAuthorization', Task) {
}
}

jar.enabled = false

spotless {
java {
target("**/*.java") // 모든 .java 파일에 적용
Expand Down