Skip to content

Commit

Permalink
Remove unused dependency management from spring-boot-parent
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Dec 20, 2024
1 parent 60e0de7 commit 681d4c2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 16 deletions.
8 changes: 4 additions & 4 deletions spring-boot-project/spring-boot-parent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ bom {
}
library("OkHttp", "4.12.0") {
group("com.squareup.okhttp3") {
imports = [
"okhttp-bom"
modules = [
"mockwebserver"
]
}
}
Expand Down Expand Up @@ -210,8 +210,8 @@ bom {
}
library("Spock Framework", "2.3-groovy-4.0") {
group("org.spockframework") {
imports = [
"spock-bom"
modules = [
"spock-core"
]
}
}
Expand Down
1 change: 0 additions & 1 deletion spring-boot-project/spring-boot-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ dependencies {
testImplementation("io.mockk:mockk")
testImplementation("jakarta.json:jakarta.json-api")
testImplementation("ch.qos.logback:logback-classic")
testImplementation("com.squareup.okhttp3:okhttp")
testImplementation("org.apache.tomcat.embed:tomcat-embed-core")
testImplementation("org.apache.groovy:groovy")
testImplementation("org.apache.groovy:groovy-xml")
Expand Down
1 change: 0 additions & 1 deletion spring-boot-project/spring-boot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ dependencies {
testImplementation("com.jayway.jsonpath:json-path")
testImplementation("com.microsoft.sqlserver:mssql-jdbc")
testImplementation("com.mysql:mysql-connector-j")
testImplementation("com.squareup.okhttp3:okhttp")
testImplementation("com.sun.xml.messaging.saaj:saaj-impl")
testImplementation("io.projectreactor:reactor-test")
testImplementation("io.r2dbc:r2dbc-h2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ void getOfReactorFactoryReturnsReactorFactory() {
assertThat(requestFactory).isInstanceOf(ReactorClientHttpRequestFactory.class);
}

@Test
void getOfOkHttpFactoryReturnsOkHttpFactory() {
ClientHttpRequestFactory requestFactory = ClientHttpRequestFactories.get(
org.springframework.http.client.OkHttp3ClientHttpRequestFactory.class,
ClientHttpRequestFactorySettings.DEFAULTS);
assertThat(requestFactory).isInstanceOf(org.springframework.http.client.OkHttp3ClientHttpRequestFactory.class);
}

@Test
void getOfJdkFactoryReturnsJdkFactory() {
ClientHttpRequestFactory requestFactory = ClientHttpRequestFactories.get(JdkClientHttpRequestFactory.class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))

testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("com.squareup.okhttp3:mockwebserver:3.9.0")
testImplementation("com.squareup.okhttp3:mockwebserver")
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-webflux"))

testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("com.squareup.okhttp3:mockwebserver:3.9.0")
testImplementation("com.squareup.okhttp3:mockwebserver")
}

0 comments on commit 681d4c2

Please sign in to comment.