gradle
8.4

# compiledBy

abstract fun <T : Task?> compiledBy(taskProvider: TaskProvider<T>, mapping: (T) -> DirectoryProperty)(source)

Define the task responsible for processing the source.

#### Parameters

taskProvider

the task responsible for compiling the sources (.e.g. compileJava)

mapping

a mapping from the task to the task's output directory (e.g. AbstractCompile::getDestinationDirectory)