@groovy.transform.CompileStatic class GradleUtil extends java.lang.Object
Utility methods for interacting with Gradle
Modifiers | Name | Description |
---|---|---|
private static boolean |
DEFAULT_SUPPRESS_OUTPUT |
Constructor and description |
---|
GradleUtil
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static org.gradle.tooling.ProjectConnection |
openGradleConnection(java.io.File baseDir) |
<T> |
static T |
runBuildActionWithConsoleOutput(ProjectContext context, org.gradle.tooling.BuildAction<T> buildAction) |
<T> |
static T |
runBuildActionWithConsoleOutput(ProjectContext context, org.gradle.tooling.BuildAction<T> buildAction, groovy.lang.Closure<?> buildActionExecuterCustomizationClosure) |
<T> |
static T |
runBuildActionWithConsoleOutput(org.gradle.tooling.ProjectConnection connection, ProjectContext context, org.gradle.tooling.BuildAction<T> buildAction) |
<T> |
static T |
runBuildActionWithConsoleOutput(org.gradle.tooling.ProjectConnection connection, ProjectContext context, org.gradle.tooling.BuildAction<T> buildAction, groovy.lang.Closure<?> buildActionExecuterCustomizationClosure) |
|
static void |
runBuildWithConsoleOutput(ExecutionContext context, groovy.lang.Closure<?> buildLauncherCustomizationClosure) |
|
static org.gradle.tooling.LongRunningOperation |
setupConsoleOutput(ProjectContext context, org.gradle.tooling.LongRunningOperation operation) |
|
static java.lang.Object |
wireCancellationSupport(ExecutionContext context, org.gradle.tooling.BuildLauncher buildLauncher) |
<T> |
static T |
withProjectConnection(java.io.File baseDir, boolean suppressOutput, groovy.lang.Closure<T> closure) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |