1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-03-26 07:20:09 +08:00

[core] Relocate com.squareup.okhttp3 and com.squareup.okio. Fix

This commit is contained in:
Him188 2022-10-03 12:38:34 +01:00
parent cae7b1161c
commit 394c0a5b4e
No known key found for this signature in database
GPG Key ID: BA439CDDCF652375

View File

@ -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) {