gradle
8.2

# Package-level declarations

The general-purpose tooling model types, provided by the tooling API.

## Types

BuildableElement
Link copied to clipboard
interface BuildableElement : Element
Represents an element which has Gradle tasks associated with it.
BuildIdentifier
Link copied to clipboard
interface BuildIdentifier : Model
Identifies a Gradle build.
BuildModel
Link copied to clipboard
interface BuildModel
Represents a model that is associated with or represents some Gradle build.
ComponentSelector
Link copied to clipboard
interface ComponentSelector
Represents a component selector.
Dependency
Link copied to clipboard
interface Dependency
Represents an artifact dependency.
DomainObjectSet
Link copied to clipboard
interface DomainObjectSet<T> : Set<E>
A set of domain objects of type T.
Element
Link copied to clipboard
interface Element : Model
Described model element.
ExternalDependency
Link copied to clipboard
interface ExternalDependency : Dependency
Represents an external artifact dependency.
GradleModuleVersion
Link copied to clipboard
interface GradleModuleVersion
Informs about a module version, i.e.
GradleProject
Link copied to clipboard
interface GradleProject : HierarchicalElement, BuildableElement, ProjectModel
Represents a Gradle project.
GradleTask
Link copied to clipboard
interface GradleTask : Task
Represents a task which is executable by Gradle.
HasGradleProject
Link copied to clipboard
interface HasGradleProject : ProjectModel
An element that is associated with a Gradle project.
HierarchicalElement
Link copied to clipboard
interface HierarchicalElement : Element
Represents an element which belongs to some hierarchy.
Launchable
Link copied to clipboard
interface Launchable : ProjectModel
Represents an object that can be used to launch a Gradle build, such as a task.
Model
Link copied to clipboard
interface Model
A model that is buildable by the Tooling API.
ProjectDependency
Link copied to clipboard
interface ProjectDependency : Dependency
Represents a dependency on another project.
ProjectIdentifier
Link copied to clipboard
interface ProjectIdentifier : Model
Identifies a Gradle project.
ProjectModel
Link copied to clipboard
interface ProjectModel
Represents a model that is associated with some Gradle project.
SourceDirectory
Link copied to clipboard
interface SourceDirectory
Represents a source directory.
Task
Link copied to clipboard
interface Task : Launchable
Represents a task which is executable by Gradle.
TaskSelector
Link copied to clipboard
interface TaskSelector : Launchable
Represents a Launchable that uses task name to select tasks executed from a given project and its sub-projects.
UnsupportedMethodException
Link copied to clipboard
open class UnsupportedMethodException : UnsupportedOperationException
Thrown when the tooling API client attempts to use a method that does not exist in the version of Gradle that the tooling API is connected to.