gradle
8.4

# GradleDependencies

@Incubating
interface GradleDependencies : Dependencies(source)

Dependency APIs available for `dependencies` blocks that can build software that relies on Gradle APIs.

#### Inheritors

JvmComponentDependencies

## Functions

getDependencyFactory
Link copied to clipboard
abstract fun getDependencyFactory(): DependencyFactory
getObjectFactory
Link copied to clipboard
abstract fun getObjectFactory(): ObjectFactory
getProject
Link copied to clipboard
abstract fun getProject(): Project
gradleApi
Link copied to clipboard
open fun gradleApi(): Dependency
Creates a dependency on the API of the current version of Gradle.
gradleTestKit
Link copied to clipboard
open fun gradleTestKit(): Dependency
Creates a dependency on the Gradle test-kit API.
localGroovy
Link copied to clipboard
open fun localGroovy(): Dependency
Creates a dependency on the version of Groovy that is distributed with the current version of Gradle.
module
Link copied to clipboard
open fun module(dependencyNotation: CharSequence): ExternalModuleDependency
module
Link copied to clipboard
fun Dependencies.module(group: String?, name: String, version: String?): ExternalModuleDependency

Creates a dependency based on the group, name and version (GAV) coordinates.

project
Link copied to clipboard
open fun project(projectPath: String): ProjectDependency