Build: remove mergeServiceFiles from reflectShadowJar
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
2d6a3cb2c8
commit
6647d8fd93
@@ -109,14 +109,13 @@ class KotlinModuleShadowTransformer(private val logger: Logger) : Transformer {
|
||||
|
||||
val reflectShadowJar by task<ShadowJar> {
|
||||
archiveClassifier.set("shadow")
|
||||
duplicatesStrategy = DuplicatesStrategy.FAIL
|
||||
configurations = listOf(embedded)
|
||||
|
||||
callGroovy("manifestAttributes", manifest, project, "Main" /*true*/)
|
||||
|
||||
exclude("**/*.proto")
|
||||
|
||||
mergeServiceFiles()
|
||||
|
||||
if (kotlinBuildProperties.relocation) {
|
||||
transform(KotlinModuleShadowTransformer(logger))
|
||||
relocate("org.jetbrains.kotlin", "kotlin.reflect.jvm.internal.impl")
|
||||
|
||||
Reference in New Issue
Block a user