GradleDependencies

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

Since

7.6

Inheritors

Functions

Link copied to clipboard
open fun constraint(dependencyConstraintNotation: CharSequence): DependencyConstraint
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getProject(): Project
Link copied to clipboard
open fun gradleApi(): Dependency
Creates a dependency on the API of the current version of Gradle.
Link copied to clipboard
Creates a dependency on the Gradle test-kit API.
Link copied to clipboard
Creates a dependency on the version of Groovy that is distributed with the current version of Gradle.
Link copied to clipboard
open fun module(dependencyNotation: CharSequence): ExternalModuleDependency
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.

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