Skip to content

Commit 82ea1a1

Browse files
committed
Remove outgoing declaration in shadowRuntimeElements
It doubles the project.artifacts.add in configureShadowTask(..) which makes the artifact appear twice
1 parent f9f12c1 commit 82ea1a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowJavaPlugin.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class ShadowJavaPlugin implements Plugin<Project> {
4747
it.attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements, LibraryElements.JAR))
4848
it.attribute(Bundling.BUNDLING_ATTRIBUTE, project.objects.named(Bundling, Bundling.SHADOWED))
4949
}
50-
outgoing.artifact(project.tasks.named(SHADOW_JAR_TASK_NAME))
5150
}
5251
}
5352

0 commit comments

Comments
 (0)