use of org.gradle.internal.build.event.types.DefaultTransformDescriptor in project gradle by gradle.
the class TransformOperationMapper method createDescriptor.
@Override
public DefaultTransformDescriptor createDescriptor(ExecuteScheduledTransformationStepBuildOperationDetails details, BuildOperationDescriptor buildOperation, @Nullable OperationIdentifier parent) {
OperationIdentifier id = buildOperation.getId();
String displayName = buildOperation.getDisplayName();
String transformerName = details.getTransformerName();
String subjectName = details.getSubjectName();
Set<InternalOperationDescriptor> dependencies = operationDependenciesResolver.resolveDependencies(details.getTransformationNode());
DefaultTransformDescriptor descriptor = new DefaultTransformDescriptor(id, displayName, parent, transformerName, subjectName, dependencies);
descriptors.put(details.getTransformationNode(), descriptor);
return descriptor;
}
Aggregations