Ensure signing tasks for different publication don't overwrite signatures #15568
Labels
a:feature
A new functionality
has:workaround
Indicates that the issue has a workaround
in:publishing-plugins
ivy-publish maven-publish
in:signing-plugin
When two publications contain the same file (like the main JAR), then the signing tasks for the publications will create the signatures in the same place. For example publishing to maven and ivy repositories in the same build causes the signature to be produced twice.
We shouldn't have tasks which produce the same files. A solution could be to have a signing task (artifact transform?) for each artifact, not for each publication.
cc: @gradle/execution
The text was updated successfully, but these errors were encountered: