api / org.gradle.api / Task / dependsOn

dependsOn

abstract fun dependsOn(vararg paths: Any): Task

Adds the given dependencies to this task. See here for a description of the types of objects which can be used as task dependencies.

Parameters

paths - The dependencies to add to this task. The path can be defined by:

Return
the task object this method is applied to