ProjectConnection
can be retrieved from the project's lookup.See: Description
Interface | Description |
---|---|
GradleDistributionProvider |
Projects can provide the required Gradle Distribution through this interface,
by placing an implementation of it in the project lookup.
|
GradleJavaPlatformProvider |
Project can provide different Java Platform to execute Gradle builds by
placing an implementation of this interface to the project lookup.
|
JavaRuntimeManager |
JavaRuntimeManager is to provide Java Runtime for Gradle execution.
|
Class | Description |
---|---|
JavaRuntimeManager.JavaRuntime |
This class represents a java home directory with and id,
and an optional display name.
|
ProjectConnection
can be retrieved from the project's lookup. The returned implementation
takes account the GradleJavaPlatformProvider
and the GradleDistributionProvider
implementations if they are available in the project lookup.
ProjectConnection connection = project.getLookup().lookup(ProjectConnection.class); connection.newBuild() .forTasks("tasks") .setStandardOutput(System.out) .run();