Skip to content

Commit a258da2

Browse files
committed
Remove unnecessary dependencies
1 parent c49e6ea commit a258da2

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-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: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,14 @@ ext {
2929

3030
dependencies {
3131
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
32+
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap'
3233
implementation 'org.springframework.cloud:spring-cloud-config-server'
33-
implementation 'org.springframework.cloud:spring-cloud-starter'
3434
runtimeOnly 'com.mysql:mysql-connector-j'
3535
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
3636
testImplementation 'org.springframework.boot:spring-boot-starter-test'
3737
testImplementation 'org.springframework.boot:spring-boot-testcontainers'
3838
testImplementation 'org.testcontainers:junit-jupiter'
3939
testImplementation 'org.testcontainers:mysql'
40-
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
4140
}
4241

4342
dependencyManagement {
@@ -49,7 +48,3 @@ dependencyManagement {
4948
tasks.named('test') {
5049
useJUnitPlatform()
5150
}
52-
53-
tasks.named("build") {
54-
dependsOn("dependencies")
55-
}

0 commit comments

Comments
 (0)