File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
22 id ' java'
3- id ' org.springframework.boot' version ' 3.2.5' // 스웨거로 인해 버전 낮춤
3+ id ' org.springframework.boot' version ' 3.2.5' // 스웨거로 인해 버전 낮춤
44 id ' io.spring.dependency-management' version ' 1.1.7'
55}
66
7- ext {
8- queryDslVersion = " 5.0.0"
9- }
10-
117group = ' com.example'
128version = ' 0.0.1-SNAPSHOT'
139
@@ -17,20 +13,27 @@ java {
1713 }
1814}
1915
16+ // QueryDSL 버전 지정
17+ ext {
18+ queryDslVersion = " 5.0.0"
19+ }
2020
21+ // 컴파일 전용 의존성 설정 (Lombok 등)
2122configurations {
2223 compileOnly {
2324 extendsFrom annotationProcessor
2425 }
2526}
2627
28+ // 저장소 설정
2729repositories {
2830 mavenCentral()
2931
3032 // springdoc 2.5.0은 여기서 제공됨
3133 maven { url ' https://repo.spring.io/release' }
3234}
3335
36+ // 의존성 설정
3437dependencies {
3538 // Spring Boot
3639 implementation ' org.springframework.boot:spring-boot-starter-data-jpa'
@@ -66,7 +69,9 @@ dependencies {
6669 // Test
6770 testImplementation ' org.springframework.boot:spring-boot-starter-test'
6871 testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
72+ }
6973
74+ // 테스트 설정 (JUnit 5)
7075tasks. named(' test' ) {
7176 useJUnitPlatform()
7277}
@@ -87,8 +92,7 @@ sourceSets {
8792 }
8893}
8994
95+ // QueryDSL 컴파일 옵션 설정
9096tasks. withType(JavaCompile ). configureEach {
9197 options. annotationProcessorGeneratedSourcesDirectory = file(querydslDir)
9298}
93-
94-
You can’t perform that action at this time.
0 commit comments