Skip to content

Commit

Permalink
Fix duplicated artifacts on a publication
Browse files Browse the repository at this point in the history
    Invalid publication 'gradleDockerPlugin': multiple artifacts with the identical extension and classifier ('jar', 'sources').
  • Loading branch information
gesellix committed Jul 28, 2022
1 parent 18aeda9 commit adffd6b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,10 @@ publishing {
artifactId = "gradle-debian-plugin"
version = artifactVersion
from(components["java"])
artifact(sourcesJar.get())
artifact(javadocJar.get())
// TODO how do we ensure that these artifacts will always be added
// automatically?
// artifact(sourcesJar.get())
// artifact(javadocJar.get())
}
}
}
Expand Down

0 comments on commit adffd6b

Please sign in to comment.