mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 04:50:26 +08:00
[build] Add notes to configureRelocationForCore
This commit is contained in:
parent
394c0a5b4e
commit
faa7ebeaba
@ -263,6 +263,9 @@ private fun ShadowJar.setRelocations() {
|
||||
}
|
||||
|
||||
fun Project.configureRelocationForCore() {
|
||||
// WARNING: You must also consider relocating transitive dependencies.
|
||||
// Otherwise, user will get NoClassDefFound error when using mirai as a classpath dependency. See #2263.
|
||||
|
||||
relocateAllFromGroupId("io.ktor")
|
||||
relocateAllFromGroupId("com.squareup.okhttp3")
|
||||
relocateAllFromGroupId("com.squareup.okio")
|
||||
|
Loading…
Reference in New Issue
Block a user