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.

forLaunchables

abstract fun forLaunchables(launchables: Array<Launchable>): BuildLauncher(source)
abstract fun forLaunchables(launchables: Iterable<out Launchable>): BuildLauncher(source)

Sets the launchables to execute. If no entries are specified, the project's default tasks are executed.

Return

this

Since

1.12

Parameters

launchables

The launchables for this build.