use of org.gradle.api.artifacts.transform.TransformAction in project gradle by gradle.
the class DefaultTransformer method newTransformAction.
private TransformAction<?> newTransformAction(Provider<FileSystemLocation> inputArtifactProvider, ArtifactTransformDependencies artifactTransformDependencies, @Nullable InputChanges inputChanges) {
TransformParameters parameters = isolatedParameters.get().getIsolatedParameterObject().isolate();
ServiceLookup services = new IsolationScheme<>(TransformAction.class, TransformParameters.class, TransformParameters.None.class).servicesForImplementation(parameters, internalServices);
services = new TransformServiceLookup(inputArtifactProvider, requiresDependencies ? artifactTransformDependencies : null, inputChanges, services);
return instanceFactory.newInstance(services);
}
Aggregations