Skip to content

Commit b6560c9

Browse files
author
Binbing Hou
committed
upgrade genie-agent and genie-web to spring boot 3
1 parent 2a64542 commit b6560c9

File tree

13 files changed

+424
-162
lines changed

13 files changed

+424
-162
lines changed

build.gradle

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ configure((Set<Project>) ext.javaProjects) {
9595
imports {
9696
mavenBom SpringBootPlugin.BOM_COORDINATES
9797
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${spring_cloud_version}"
98-
mavenBom "io.awspring.cloud:spring-cloud-aws-dependencies:2.4.1"
98+
mavenBom "io.awspring.cloud:spring-cloud-aws-dependencies:${spring_cloud_aws_version}"
9999
mavenBom "com.google.protobuf:protobuf-bom:${protobuf_version}"
100100
mavenBom "com.squareup.okhttp3:okhttp-bom:4.9.2"
101101
mavenBom "io.grpc:grpc-bom:${grpc_version}"
@@ -305,6 +305,27 @@ configure((Set<Project>) ext.javaProjects) {
305305
}
306306
}
307307

308+
// Configuration for Spring Boot 3
309+
ext {
310+
sb3DependencyManagement = {
311+
dependencyManagement {
312+
imports {
313+
mavenBom module: "org.springframework.boot:spring-boot-dependencies:${spring_boot_3_version}"
314+
mavenBom module: "org.springframework.cloud:spring-cloud-dependencies:${spring_cloud_3_version}"
315+
mavenBom module: "io.awspring.cloud:spring-cloud-aws-dependencies:${spring_cloud_aws_3_version}"
316+
mavenBom "software.amazon.awssdk:bom:2.13.1"
317+
mavenBom "io.zipkin.brave:brave-bom:5.13.3"
318+
}
319+
}
320+
}
321+
322+
sb3Dependencies = {
323+
dependencies {
324+
// Add other dependencies here
325+
}
326+
}
327+
}
328+
308329
/**********************************
309330
* Coverage Tasks
310331
**********************************/

genie-agent-app/build.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ license {
2525
exclude "*.txt"
2626
}
2727

28-
dependencyManagement {
29-
imports {
30-
mavenBom "com.amazonaws:aws-java-sdk-bom:1.12.99"
31-
mavenBom "io.awspring.cloud:spring-cloud-aws-dependencies:3.2.1"
32-
mavenBom "io.zipkin.brave:brave-bom:5.13.3"
33-
}
34-
}
35-
3628
dependencies {
3729
/*******************************
3830
* Implementation Dependencies

0 commit comments

Comments
 (0)