For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

dependsOn

open fun dependsOn(paths: Array<Any>): Task(source)

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

Return

the task object this method is applied to

Since

0.7

Parameters

paths

The dependencies to add to this task.