InAndOutFileOperationRequest
interface InAndOutFileOperationRequest
Operations performed by a Task with a single RegularFile or Directory output.
Task is consuming existing version of the target SingleArtifact and producing a new version.
Summary
Public functions | 
          |
|---|---|
Unit | 
            
              <ArtifactTypeT : Artifact.Single<RegularFile> & Artifact.Transformable> toTransform(Initiates a transform request to a single   | 
          
Public functions
toTransform
fun <ArtifactTypeT : Artifact.Single<RegularFile> & Artifact.Transformable> toTransform(
type: ArtifactTypeT
): Unit
Initiates a transform request to a single Artifact.Transformable artifact type.
| Parameters | |
|---|---|
type: ArtifactTypeT | 
              
                 The  The artifact type must be  As an example, let's take a  abstract class MyTask: DefaultTask() { An ArtifactType defined as follows : sealed class ArtifactType<T: FileSystemLocation>(val kind: ArtifactKind) { You can register a transform to the collection of  val taskProvider= projects.tasks.register(MyTask::class.java, "transformTask")  |