Skip to content

Commit 1fdd45c

Browse files
authored
Remove usage of extension
1 parent 3326c4d commit 1fdd45c

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ dependencies {
2727
}}
2828
}
2929

30-
dependencyManagement {
31-
imports {
32-
mavenBom SpringBootPlugin.BOM_COORDINATES
33-
}
30+
dependencies {
31+
implementation platform(SpringBootPlugin.BOM_COORDINATES)
3432
}
3533

3634
reporting {

cloud-jdbc-env-repo/build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,11 @@ repositories {
2323
mavenCentral()
2424
}
2525

26-
ext {
27-
set('springCloudVersion', "2024.0.1")
28-
}
29-
3026
dependencies {
31-
implementation platform("org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}")
27+
implementation platform('org.springframework.cloud:spring-cloud-dependencies:2024.0.1')
3228

3329
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
34-
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap'
30+
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap'
3531
implementation 'org.springframework.cloud:spring-cloud-config-server'
3632
runtimeOnly 'com.mysql:mysql-connector-j'
3733
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'

0 commit comments

Comments
 (0)