api / org.gradle.api.tasks / SourceTask / source

source

open fun source(vararg sources: Any): SourceTask

Adds some source to this task. The given source objects will be evaluated as per org.gradle.api.Project#files(Object...).

Parameters

sources - The source to add

Return
this