Skip to content

Commit aacb7a4

Browse files
committed
[SPARK-53714] Remove okhttp3 dependency
### What changes were proposed in this pull request? This PR aims to remove `okhttp3` dependency. ### Why are the changes needed? As of now, `Apache Spark K8s Operator` does not use this. ### Does this PR introduce _any_ user-facing change? No behavior change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #346 from dongjoon-hyun/SPARK-53714. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 6339d91 commit aacb7a4

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

gradle/libs.versions.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ log4j = "2.24.3"
2626
junit = "5.13.4"
2727
jacoco = "0.8.13"
2828
mockito = "5.18.0"
29-
okhttp = "4.12.0"
3029

3130
# Build Analysis
3231
checkstyle = "10.23.1"
@@ -45,7 +44,6 @@ kubernetes-httpclient-vertx = { group = "io.fabric8", name = "kubernetes-httpcli
4544
kubernetes-server-mock = { group = "io.fabric8", name = "kubernetes-server-mock", version.ref = "fabric8" }
4645
kube-api-test-client-inject = {group = "io.fabric8", name = "kube-api-test-client-inject", version.ref = "fabric8"}
4746
crd-generator-apt = { group = "io.fabric8", name = "crd-generator-apt", version.ref = "fabric8" }
48-
mockwebserver = { group = "com.squareup.okhttp3", name = "mockwebserver", version.ref = "okhttp" }
4947
lombok = { group = "org.projectlombok", name = "lombok", version.ref = "lombok" }
5048
log4j-api = { group = "org.apache.logging.log4j", name = "log4j-api", version.ref = "log4j" }
5149
log4j-core = { group = "org.apache.logging.log4j", name = "log4j-core", version.ref = "log4j" }

spark-operator/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ dependencies {
6565
exclude group: "org.apache.logging.log4j"
6666
exclude group: "org.slf4j"
6767
}
68-
testImplementation(libs.mockwebserver) {
69-
exclude group: 'junit'
70-
}
7168
testImplementation platform(libs.junit.bom)
7269
testImplementation(libs.junit.jupiter)
7370
testRuntimeOnly(libs.junit.platform.launcher)

0 commit comments

Comments
 (0)