gradle
Toggle table of contents
9.6.0-20260414005124+0000
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.language
/
LibraryDependencies
Library
Dependencies
API
interface
LibraryDependencies
:
ComponentDependencies
(
source
)
Allows the API and implementation dependencies of a library to be specified.
Since
4.6
Members
Functions
api
Link copied to clipboard
API
abstract
fun
api
(
notation
:
Any
)
abstract
fun
api
(
notation
:
Any
,
action
:
Action
<
in
ExternalModuleDependency
>
)
Adds an API dependency to this library.
implementation
Link copied to clipboard
API
abstract
fun
implementation
(
notation
:
Any
)
abstract
fun
implementation
(
notation
:
Any
,
action
:
Action
<
in
ExternalModuleDependency
>
)
Adds an implementation dependency to this component.
project
Link copied to clipboard
API
@
Incubating
abstract
fun
project
(
projectPath
:
String
)
:
ProjectDependency
Creates a dependency on a project by path.