Table of Contents
API Documentation: | Dependencies |
---|
Known Subtypes: |
|
---|
Universal APIs that are available for all dependencies
blocks.
Method | Description |
module(dependencyNotation) | Create an |
module(group, name, version) | Create an |
project() | Returns the current project as a |
project(projectPath) | Converts an absolute or relative path to a project into a |
ExternalModuleDependency
module
(CharSequence
dependencyNotation)
Create an ExternalModuleDependency
from the given notation.
ExternalModuleDependency
module
(String
group, String
name, String
version)
Create an ExternalModuleDependency
from a series of strings.
ProjectDependency
project
()
Returns the current project as a ProjectDependency
.
ProjectDependency
project
(String
projectPath)
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.