api / org.gradle.api.initialization / ConfigurableIncludedBuild

ConfigurableIncludedBuild

@Incubating interface ConfigurableIncludedBuild : IncludedBuild

A build that is to be included in the composite.

Since
3.1

Functions

dependencySubstitution

abstract fun dependencySubstitution(action: Action<in DependencySubstitutions>): Unit

Configures the dependency substitution rules for this included build. The action receives an instance of DependencySubstitutions which can be configured with substitution rules. Project dependencies are resolved in the context of the included build.

Inherited 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.