Search in sources :

Example 1 with ModuleComponentFileArtifactIdentifier

use of org.gradle.internal.component.external.model.ModuleComponentFileArtifactIdentifier in project gradle by gradle.

the class ModuleComponentFileArtifactIdentifierSerializer method read.

@Override
public ModuleComponentFileArtifactIdentifier read(Decoder decoder) throws Exception {
    ModuleComponentIdentifier componentIdentifier = (ModuleComponentIdentifier) componentIdentifierSerializer.read(decoder);
    String fileName = decoder.readString();
    return new ModuleComponentFileArtifactIdentifier(componentIdentifier, fileName);
}
Also used : ModuleComponentIdentifier(org.gradle.api.artifacts.component.ModuleComponentIdentifier) ModuleComponentFileArtifactIdentifier(org.gradle.internal.component.external.model.ModuleComponentFileArtifactIdentifier)

Aggregations

ModuleComponentIdentifier (org.gradle.api.artifacts.component.ModuleComponentIdentifier)1 ModuleComponentFileArtifactIdentifier (org.gradle.internal.component.external.model.ModuleComponentFileArtifactIdentifier)1