Table of Contents
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()
.
Method | Description |
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. |
void
add
(D
dependency, Action
<? super D
>
configuration)
Action
<? super D
>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)
Action
<? super ExternalModuleDependency
>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)
Action
<? super FileCollectionDependency
>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)
Provider
<? extends Dependency
>Note: This method is incubating and may change in a future version of Gradle.
Add a dependency.
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)
ProviderConvertible
<? extends MinimalExternalModuleDependency
>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)
ProviderConvertible
<? extends MinimalExternalModuleDependency
>Action
<? super ExternalModuleDependency
>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)
Iterable
<? extends D
>Note: This method is incubating and may change in a future version of Gradle.
Add a bundle.
Note: This method is incubating and may change in a future version of Gradle.
Add a bundle and configure them.
Note: This method is incubating and may change in a future version of Gradle.
Add a bundle.
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)
ProviderConvertible
<? extends Iterable
<? extends D
>>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)
ProviderConvertible
<? extends Iterable
<? extends D
>>Action
<? super D
>Note: This method is incubating and may change in a future version of Gradle.
Add a bundle and configure them.