CombiningOperationRequest
interface CombiningOperationRequest<FileTypeT : FileSystemLocation?>
Summary
Public functions |
|
---|---|
Unit |
<ArtifactTypeT : Artifact.Multiple<FileTypeT?>? & Artifact.Transformable?> toTransform( Initiates a transform request to a multiple |
Public functions
toTransform
fun <ArtifactTypeT : Artifact.Multiple<FileTypeT?>? & Artifact.Transformable?> toTransform(
type: ArtifactTypeT?
): Unit
Initiates a transform request to a multiple Artifact.Transformable
artifact type.
Parameters | |
---|---|
type: ArtifactTypeT? |
The The artifact type must be The implementation of the task must combine all the inputs into a single output. Chained transforms will get a If some In the following example, let's take a abstract class MyTask: DefaultTask() { An sealed class ArtifactType<T: FileSystemLocation>(val kind: ArtifactKind) { You then register the task as follows: val taskProvider= projects.tasks.register(MyTask::class.java, "combineTask") |