DependencySpecContainer

Deprecated

The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. cpp-application, cpp-library, swift-application, swift-library, xctest) instead.

A container for dependency specifications.

Functions

Link copied to clipboard
Returns an immutable view of dependencies stored in this container.
Link copied to clipboard
Defines a new module dependency, based on a module group name.
Link copied to clipboard
abstract fun isEmpty(): Boolean
Returns true if this container doesn't hold any dependency.
Link copied to clipboard
Defines a new dependency, based on a library name.
Link copied to clipboard
abstract fun module(moduleIdOrName: String): ModuleDependencySpecBuilder
Defines a new module dependency, based on a module id or a simple name.
Link copied to clipboard
Defines a new dependency, based on a project path.