Skip to content

Commit

Permalink
Remove outgoing declaration in shadowRuntimeElements
Browse files Browse the repository at this point in the history
It doubles the project.artifacts.add in configureShadowTask(..) which makes the artifact appear twice
  • Loading branch information
m8nmueller committed Apr 12, 2021
1 parent f9f12c1 commit 82ea1a1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class ShadowJavaPlugin implements Plugin<Project> {
it.attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements, LibraryElements.JAR))
it.attribute(Bundling.BUNDLING_ATTRIBUTE, project.objects.named(Bundling, Bundling.SHADOWED))
}
outgoing.artifact(project.tasks.named(SHADOW_JAR_TASK_NAME))
}
}

Expand Down

0 comments on commit 82ea1a1

Please sign in to comment.