11plugins {
2- id ' org.springframework.boot' version ' 2.7.18 '
3- id ' io.spring.dependency-management' version ' 1.0.15.RELEASE '
2+ id ' org.springframework.boot' version ' 3.3.5 '
3+ id ' io.spring.dependency-management' version ' 1.1.6 '
44 id ' java-library'
5- id ' com.diffplug.spotless' version ' 6.13 .0'
5+ id ' com.diffplug.spotless' version ' 6.25 .0'
66}
77
88spotless {
@@ -20,7 +20,7 @@ spotless {
2020 // 임포트 순서 정리
2121 importOrder(
2222 " java" ,
23- " javax " ,
23+ " jakarta " ,
2424 " lombok" ,
2525 " org.springframework" ,
2626 " " ,
@@ -64,26 +64,33 @@ subprojects {
6464 }
6565 }
6666
67+ testing {
68+ suites {
69+ test {
70+ useJUnitJupiter()
71+ }
72+ }
73+ }
74+
6775 dependencies {
6876 annotationProcessor(
6977 ' org.projectlombok:lombok' ,
7078 ' org.springframework.boot:spring-boot-configuration-processor' ,
7179 ' jakarta.persistence:jakarta.persistence-api' ,
7280 ' jakarta.annotation:jakarta.annotation-api' ,
73- " com.querydsl:querydsl-apt:${ dependencyManagement.importedProperties['querydsl.version'] } :jpa "
81+ ' com.querydsl:querydsl-apt:5.0.0:jakarta '
7482 )
7583
7684 implementation (
7785 ' org.springframework.boot:spring-boot-starter-web' ,
7886 ' org.springframework.boot:spring-boot-starter-validation' ,
79- ' org.springdoc:springdoc-openapi-ui:1.7 .0' ,
87+ ' org.springdoc:springdoc-openapi-starter-webmvc- ui:2.6 .0' ,
8088 ' com.google.code.findbugs:jsr305:3.0.2' ,
81- ' io.awspring.cloud:spring-cloud-starter-aws:2.4.4' ,
8289
8390 // cloud config
84- ' org.springframework.cloud:spring-cloud-starter-config:3 .1.8 ' ,
91+ ' org.springframework.cloud:spring-cloud-starter-config:4 .1.4 ' ,
8592 ' org.springframework.boot:spring-boot-starter-actuator' ,
86- ' org.springframework.cloud:spring-cloud-starter-bootstrap:3 .1.8 ' ,
93+ ' org.springframework.cloud:spring-cloud-starter-bootstrap:4 .1.4 ' ,
8794
8895 // mail
8996 ' org.springframework.boot:spring-boot-starter-mail' ,
@@ -104,10 +111,6 @@ subprojects {
104111 )
105112 }
106113
107- test {
108- useJUnitPlatform()
109- }
110-
111114}
112115
113116project(' :module-jpa' ) {
@@ -117,8 +120,8 @@ project(':module-jpa') {
117120 dependencies {
118121 api (
119122 ' org.springframework.boot:spring-boot-starter-data-jpa' ,
120- ' com.querydsl:querydsl-jpa' , // query dsl
121- ' com.jcraft:jsch:0.1.55' , // 로컬 개발용 db ssh tunneling, https://mavenlibs.com/maven/dependency/com.jcraft/jsch
123+ ' com.querydsl:querydsl-jpa:5.0.0:jakarta ' ,
124+ ' com.jcraft:jsch:0.1.55' ,
122125// 'org.mariadb.jdbc:mariadb-java-client',
123126 ' com.mysql:mysql-connector-j' ,
124127 ' com.h2database:h2'
@@ -133,18 +136,18 @@ project(':module-auth') {
133136 dependencies {
134137 api project(' :module-jpa' )
135138 // jwt
136- api ' io.jsonwebtoken:jjwt-api:0.11.2 '
137- runtimeOnly ' io.jsonwebtoken:jjwt-impl:0.11.2 ' ,
139+ api ' io.jsonwebtoken:jjwt-api:0.11.5 '
140+ runtimeOnly ' io.jsonwebtoken:jjwt-impl:0.11.5 ' ,
138141 // Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms:
139142 // 'org.bouncycastle:bcprov-jdk15on:1.60',
140- ' io.jsonwebtoken:jjwt-jackson:0.11.2 ' // or 'io.jsonwebtoken:jjwt-gson:0.11.2' for gson
143+ ' io.jsonwebtoken:jjwt-jackson:0.11.5 '
141144
142145 // security
143146 api ' org.springframework.boot:spring-boot-starter-security'
144147 api ' org.springframework.boot:spring-boot-starter-oauth2-client'
145- api ' javax .xml.bind:jaxb -api'
148+ api ' jakarta .xml.bind:jakarta.xml.bind -api:4.0.2 '
146149 testImplementation ' org.springframework.security:spring-security-test'
147- testImplementation ' org.mockito:mockito-inline:2.13 .0'
150+ testImplementation ' org.mockito:mockito-inline:5.2 .0'
148151 }
149152}
150153
@@ -155,9 +158,10 @@ project(':module-fileStorage') {
155158 dependencies {
156159 api project(' :module-jpa' )
157160
158- api ' javax.xml.bind:jaxb-api'
161+ api ' jakarta.xml.bind:jakarta.xml.bind-api:4.0.2'
162+ implementation ' com.amazonaws:aws-java-sdk-s3:1.12.188'
159163 testImplementation ' org.springframework.security:spring-security-test'
160- testImplementation ' org.mockito:mockito-inline:2.13 .0'
164+ testImplementation ' org.mockito:mockito-inline:5.2 .0'
161165 }
162166}
163167
@@ -167,14 +171,15 @@ project(':resource-server') {
167171 api project(' :module-auth' )
168172 api project(' :module-fileStorage' )
169173 api ' org.springframework.boot:spring-boot-starter-security'
174+ implementation ' com.amazonaws:aws-java-sdk-s3:1.12.188'
170175 testImplementation ' org.springframework.security:spring-security-test'
171176 }
172177
173178 clean {
174179 delete file(' src/main/generated' )
175180 }
176181
177- task cleanGeneratedDir( type : Delete ) {
182+ tasks . register( ' cleanGeneratedDir ' , Delete ) {
178183 delete file(' src/main/generated' )
179184 }
180185}
0 commit comments