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> {
|
val reflectShadowJar by task<ShadowJar> {
|
||||||
archiveClassifier.set("shadow")
|
archiveClassifier.set("shadow")
|
||||||
|
duplicatesStrategy = DuplicatesStrategy.FAIL
|
||||||
configurations = listOf(embedded)
|
configurations = listOf(embedded)
|
||||||
|
|
||||||
callGroovy("manifestAttributes", manifest, project, "Main" /*true*/)
|
callGroovy("manifestAttributes", manifest, project, "Main" /*true*/)
|
||||||
|
|
||||||
exclude("**/*.proto")
|
exclude("**/*.proto")
|
||||||
|
|
||||||
mergeServiceFiles()
|
|
||||||
|
|
||||||
if (kotlinBuildProperties.relocation) {
|
if (kotlinBuildProperties.relocation) {
|
||||||
transform(KotlinModuleShadowTransformer(logger))
|
transform(KotlinModuleShadowTransformer(logger))
|
||||||
relocate("org.jetbrains.kotlin", "kotlin.reflect.jvm.internal.impl")
|
relocate("org.jetbrains.kotlin", "kotlin.reflect.jvm.internal.impl")
|
||||||
|
|||||||
Reference in New Issue
Block a user