public class ArtifactCopy
extends com.canonical.rockcraft.util.MavenArtifactCopy
| Constructor and Description |
|---|
ArtifactCopy(java.nio.file.Path outputLocationRoot)
Construct ArtifactCopy
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyArtifacts(org.gradle.api.artifacts.ArtifactCollection artifacts)
Copy the artifact collection
|
void |
copyToMavenRepository(org.gradle.api.artifacts.result.ResolvedArtifactResult resolvedArtifact)
Copy individual artifact to the destination
|
public ArtifactCopy(java.nio.file.Path outputLocationRoot)
outputLocationRoot - - destination for the artifactspublic void copyArtifacts(org.gradle.api.artifacts.ArtifactCollection artifacts)
throws java.io.IOException
artifacts - - artifact collection as returned by gradle resolutionjava.io.IOException - - failed to copy the collectionpublic void copyToMavenRepository(org.gradle.api.artifacts.result.ResolvedArtifactResult resolvedArtifact)
throws java.io.IOException
resolvedArtifact - - resolved artifactjava.io.IOException - - failed to copy the artifact