Package org.gradle.language
Interface LibraryDependencies
- All Superinterfaces:
ComponentDependencies
Allows the API and implementation dependencies of a library to be specified.
- Since:
- 4.6
-
Method Summary
Methods inherited from interface org.gradle.language.ComponentDependencies
implementation, implementation
-
Method Details
-
api
Adds an API dependency to this library. An API dependency is made visible to consumers that are compiled against this component.- Parameters:
notation
- The dependency notation, as perDependencyHandler.create(Object)
.
-
api
Adds an API dependency to this library. An API dependency is made visible to consumers that are compiled against this component.- Parameters:
notation
- The dependency notation, as perDependencyHandler.create(Object)
.action
- The action to run to configure the dependency.
-