create
Create an ExternalModuleDependency from the "group:name:version:classifier@extension" notation.
Classifier and extension may each separately be omitted. Version may be omitted if there is no classifier.
Return
the new dependency
Parameters
the dependency notation
Create an ExternalModuleDependency from a series of strings.
Return
the new dependency
Parameters
the group (optional)
the name
the version (optional)
Create an ExternalModuleDependency from a series of strings.
Return
the new dependency
Parameters
the group (optional)
the name
the version (optional)
the classifier (optional)
the extension (optional)
Create a FileCollectionDependency from a FileCollection.
Return
the new dependency
Parameters
the file collection
Deprecated
Use createProjectDependency instead. This method will be removed in Gradle 10.0.
Create a ProjectDependency from a Project.
Return
the new dependency
Parameters
the project