DependencyCollector

API Documentation:DependencyCollector

Note: This class is incubating and may change in a future version of Gradle.

A DependencyCollector is used as part of a dependencies block in the DSL. A collector implements a single dependency scope and exposes the declared dependencies on DependencyCollector.getDependencies().

Properties

No properties

Methods

MethodDescription
add(dependency, configuration)
Incubating

Add a dependency and configure it.

add(dependencyNotation)
Incubating

Add a dependency.

add(dependencyNotation, configuration)
Incubating

Add a dependency and configure it.

add(dependency)
Incubating

Add a dependency.

add(files)
Incubating

Add a dependency.

add(files, configuration)
Incubating

Add a dependency and configure it.

add(dependency)
Incubating

Add a dependency.

add(dependency, configuration)
Incubating

Add a dependency and configure it.

add(externalModule)
Incubating

Add a dependency.

add(externalModule, configuration)
Incubating

Add a dependency and configure it.

bundle(bundle)
Incubating

Add a bundle.

bundle(bundle, configuration)
Incubating

Add a bundle and configure them.

bundle(bundle)
Incubating

Add a bundle.

bundle(bundle, configuration)
Incubating

Add a bundle and configure them.

bundle(bundle)
Incubating

Add a bundle.

bundle(bundle, configuration)
Incubating

Add a bundle and configure them.

Script blocks

No script blocks

Method details

void add(D dependency, Action<? super D> configuration)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency and configure it.

void add(CharSequence dependencyNotation)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency.

void add(CharSequence dependencyNotation, Action<? super ExternalModuleDependency> configuration)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency and configure it.

void add(Dependency dependency)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency.

void add(FileCollection files)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency.

void add(FileCollection files, Action<? super FileCollectionDependency> configuration)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency and configure it.

void add(Provider<? extends Dependency> dependency)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency.

void add(Provider<? extends D> dependency, Action<? super D> configuration)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency and configure it.

void add(ProviderConvertible<? extends MinimalExternalModuleDependency> externalModule)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency.

void add(ProviderConvertible<? extends MinimalExternalModuleDependency> externalModule, Action<? super ExternalModuleDependency> configuration)

Note: This method is incubating and may change in a future version of Gradle.

Add a dependency and configure it.

void bundle(Iterable<? extends D> bundle)

Note: This method is incubating and may change in a future version of Gradle.

Add a bundle.

void bundle(Iterable<? extends D> bundle, Action<? super D> configuration)

Note: This method is incubating and may change in a future version of Gradle.

Add a bundle and configure them.

void bundle(Provider<? extends Iterable<? extends D>> bundle)

Note: This method is incubating and may change in a future version of Gradle.

Add a bundle.

void bundle(Provider<? extends Iterable<? extends D>> bundle, Action<? super D> configuration)

Note: This method is incubating and may change in a future version of Gradle.

Add a bundle and configure them.

void bundle(ProviderConvertible<? extends Iterable<? extends D>> bundle)

Note: This method is incubating and may change in a future version of Gradle.

Add a bundle.

void bundle(ProviderConvertible<? extends Iterable<? extends D>> bundle, Action<? super D> configuration)

Note: This method is incubating and may change in a future version of Gradle.

Add a bundle and configure them.