Relocate service definition files for kotlin-reflect

See
http://imperceptiblethoughts.com/shadow/#merging_service_descriptor_files

 #KT-16810 Fixed
This commit is contained in:
Alexander Udalov
2017-06-05 13:09:48 +03:00
parent 2b878f863c
commit a4931568ba
2 changed files with 3 additions and 0 deletions
@@ -95,6 +95,7 @@ task reflectShadowJar(type: ShadowJar) {
configurations = [project.configurations.shadows]
relocate 'org.jetbrains.kotlin', 'kotlin.reflect.jvm.internal.impl'
relocate 'javax.inject', 'kotlin.reflect.jvm.internal.impl.javax.inject'
mergeServiceFiles()
}
createScriptTask(project, "stripMetadata") {