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
dependency Notation
the dependency notation
abstract fun create(@Nullable group: String, name: String, @Nullable version: String): ExternalModuleDependency(source)
Create an ExternalModuleDependency from a series of strings.
Return
the new dependency
Parameters
group
the group (optional)
name
the name
version
the version (optional)
abstract fun create(@Nullable group: String, name: String, @Nullable version: String, @Nullable classifier: String, @Nullable extension: String): ExternalModuleDependency(source)
Create an ExternalModuleDependency from a series of strings.
Return
the new dependency
Parameters
group
the group (optional)
name
the name
version
the version (optional)
classifier
the classifier (optional)
extension
the extension (optional)
Create a FileCollectionDependency from a FileCollection.
Return
the new dependency
Parameters
file Collection
the file collection
Create a ProjectDependency from a Project.
Return
the new dependency
Parameters
project
the project