kotlinRelocate

fun ShadowJar.kotlinRelocate(pattern: String, destination: String, configure: Action<SimpleRelocator> = Action {})

A wrapper around ShadowJar.relocate that will also take care of kotlin metadata. Only use it for kotlin libraries. Using it on normal JVM libraries will just increase compilation time.