Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ dependencies {
}}
}

dependencyManagement {
imports {
mavenBom SpringBootPlugin.BOM_COORDINATES
}
dependencies {
implementation platform(SpringBootPlugin.BOM_COORDINATES)
}

reporting {
Expand Down
8 changes: 2 additions & 6 deletions cloud-jdbc-env-repo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,11 @@ repositories {
mavenCentral()
}

ext {
set('springCloudVersion', "2024.0.1")
}

dependencies {
implementation platform("org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}")
implementation platform('org.springframework.cloud:spring-cloud-dependencies:2024.0.1')

implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Moving spring-cloud-dependencies from here...

Is this intentional? Moving the dependency declaration to dependencyManagement changes how dependencies are resolved. Please confirm this is the desired behavior and that all dependencies are still being resolved correctly.

implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap'
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap'
implementation 'org.springframework.cloud:spring-cloud-config-server'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
Expand Down
Loading