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
Since
7.6
Parameters
the dependency notation
Create an ExternalModuleDependency from a series of strings.
Return
the new dependency
Since
7.6
Parameters
the group (optional)
the name
the version (optional)
Create an ExternalModuleDependency from a series of strings.
Return
the new dependency
Since
7.6
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
Since
7.6
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
Since
7.6
Parameters
the project