api / org.gradle.api.initialization / IncludedBuild

IncludedBuild

@Incubating interface IncludedBuild

A build that is included in the composite.

Since
3.1

Functions

getName

abstract fun getName(): String

The name of the included build.

getProjectDir

abstract fun getProjectDir(): File

The root directory of the included build.

task

abstract fun task(path: String): TaskReference

Produces a reference to a task in the included build.

Inheritors

ConfigurableIncludedBuild

interface ConfigurableIncludedBuild : IncludedBuild

A build that is to be included in the composite.