use of org.gradle.api.internal.artifacts.publish.ImmutablePublishArtifact in project gradle by gradle.
the class PublishArtifactLocalArtifactMetadataSerializer method read.
@Override
public PublishArtifactLocalArtifactMetadata read(Decoder decoder) throws Exception {
ComponentIdentifier identifier = componentIdentifierSerializer.read(decoder);
String artifactName = decoder.readString();
String artifactExtension = decoder.readString();
String artifactType = decoder.readString();
String artifactClassifier = decoder.readNullableString();
File artifactFile = new File(decoder.readString());
return new PublishArtifactLocalArtifactMetadata(identifier, new ImmutablePublishArtifact(artifactName, artifactExtension, artifactType, artifactClassifier, artifactFile));
}
Aggregations