Package-level declarations
The main interfaces and classes of the Gradle tooling API.
Types
Link copied to clipboard
An action that executes against a Gradle build and produces a result of type
T
.Link copied to clipboard
Used to execute a BuildAction in the build process.
Link copied to clipboard
Thrown when a BuildAction fails.
Link copied to clipboard
Thrown when a org.gradle.tooling.LongRunningOperation is cancelled before the operation completes.
Link copied to clipboard
interface BuildController
Provides a BuildAction various ways to control a Gradle build and access information about the build.
Link copied to clipboard
Thrown when a Gradle build fails or when a model cannot be built.
Link copied to clipboard
A
BuildLauncher
allows you to configure and execute a Gradle build.Link copied to clipboard
interface CancellationToken
Token that propagates notification that an operation should be cancelled.
Link copied to clipboard
interface CancellationTokenSource
A
CancellationTokenSource
allows you to issue cancellation requests to one or more org.gradle.tooling.LongRunningOperation instances.Link copied to clipboard
A
ConfigurableLauncher
allows you to configure a long running operation.Link copied to clipboard
Represent a test assertion failure where the test fails due to a broken assertion.
Link copied to clipboard
Thrown when there is some problem using a Gradle connection.
Link copied to clipboard
A
GradleConnector
is the main entry point to the Gradle tooling API.Link copied to clipboard
A handler for an intermediate result obtained by a BuildActionExecuter.
Link copied to clipboard
Thrown whenever a listener fails with an exception, which in general implies that the build completed like it should, but that one of the listeners failed with an exception.
Link copied to clipboard
interface LongRunningOperation
Offers ways to communicate both ways with a Gradle operation, be it building a model or running tasks.
Link copied to clipboard
A
ModelBuilder
allows you to fetch a snapshot of some model for a project or a build.Link copied to clipboard
interface ProgressEvent
Some information about a piece of work of a long running operation.
Link copied to clipboard
interface ProgressListener
A listener which is notified as some long running operation makes progress.
Link copied to clipboard
Represents a long-lived connection to a Gradle project.
Link copied to clipboard
A handler for an asynchronous operation which returns an object of type T.
Link copied to clipboard
Receives a value sent via send.
Link copied to clipboard
A value supplier.
Link copied to clipboard
Represent a test assertion failure where the test fails due to a broken assertion.
Link copied to clipboard
Thrown when the org.gradle.tooling.TestLauncher cannot run tests, or when one or more tests fail.
Link copied to clipboard
Describes a test failure, that can either be a test assertion failure or a test framework failure.
Link copied to clipboard
Describes an unexpected test failure, i.e.
Link copied to clipboard
A
TestLauncher
allows you to execute tests in a Gradle build.Link copied to clipboard
Provides infrastructure to select which test classes, methods, and packages will be included in the test execution.
Link copied to clipboard
Provides test selection from a specific test task.
Link copied to clipboard
annotation class ToolingModelContract
Annotation used to mark TAPI model interfaces.
Link copied to clipboard
Thrown when the client is trying to acquire a model that is unknown to the Tooling API.
Link copied to clipboard
Thrown when the target Gradle version does not support a particular feature.