api / org.gradle.api.tasks / SourceSet / compiledBy

compiledBy

abstract fun compiledBy(vararg taskPaths: Any): SourceSet

Registers a set of tasks which are responsible for compiling this source set into the classes directory. The paths are evaluated as per org.gradle.api.Task#dependsOn(Object...).

Parameters

taskPaths - The tasks which compile this source set.

Return
this