Table of Contents
| API Documentation: | Dependencies |
|---|
Note: This class is incubating and may change in a future version of Gradle.
Universal APIs that are available for all dependencies blocks.
| Method | Description |
module(dependencyNotation) | Incubating Create an |
module(group, name, version) | Incubating Create an |
project() | Incubating Returns the current project as a |
project(projectPath) | Incubating Converts an absolute or relative path to a project into a |
ExternalModuleDependency module(CharSequence dependencyNotation)
Note: This method is incubating and may change in a future version of Gradle.
Create an ExternalModuleDependency from the given notation.
ExternalModuleDependency module(String group, String name, String version)
Note: This method is incubating and may change in a future version of Gradle.
Create an ExternalModuleDependency from a series of strings.
ProjectDependency project()
Note: This method is incubating and may change in a future version of Gradle.
Returns the current project as a ProjectDependency.
ProjectDependency project(String projectPath)
Note: This method is incubating and may change in a future version of Gradle.
Converts an absolute or relative path to a project into a ProjectDependency. Project paths are separated by colons.
This method fails if the project cannot be found.