Skip to content

Commit

Permalink
Fix artifact creation
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Jul 12, 2024
1 parent c2b7507 commit 6fe7a12
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class ArtifactCollector {
logger.info "{} can only use maven publications - skipping {}.", path, publication.name
return []
}
def identity = publication.mavenProjectIdentity
def mvnPublication = publication
Collection<Artifact> artifacts = publication.artifacts.findResults {
new Artifact(
name: identity.artifactId,
groupId: identity.groupId,
version: identity.version,
name: mvnPublication.artifactId,
groupId: mvnPublication.groupId,
version: mvnPublication.version,
extension: it.extension,
type: it.extension,
classifier: it.classifier,
Expand Down

0 comments on commit 6fe7a12

Please sign in to comment.