diff --git a/buildSrc/src/main/kotlin/Shadow.kt b/buildSrc/src/main/kotlin/Shadow.kt
index e2ea3ebc2..297cb6eb3 100644
--- a/buildSrc/src/main/kotlin/Shadow.kt
+++ b/buildSrc/src/main/kotlin/Shadow.kt
@@ -264,6 +264,8 @@ private fun ShadowJar.setRelocations() {
 
 fun Project.configureRelocationForCore() {
     relocateAllFromGroupId("io.ktor")
+    relocateAllFromGroupId("com.squareup.okhttp3")
+    relocateAllFromGroupId("com.squareup.okio")
 }
 
 fun Project.relocateAllFromGroupId(groupId: String) {