public interface GradleInterfaceVersion1
| Modifier and Type | Method and Description |
|---|---|
void |
addCommandLineArgumentAlteringListener(CommandLineArgumentAlteringListenerVersion1 listener)
This allows you to add a listener that can add additional command line arguments whenever gradle is executed.
|
void |
executeCommand(String commandLineArguments,
String displayName)
Call this to execute the given gradle command.
|
File |
getCurrentDirectory() |
File |
getCustomGradleExecutable()
This is called to get a custom gradle executable file.
|
File |
getGradleHomeDirectory() |
List<ProjectVersion1> |
getRootProjects() |
boolean |
isBusy()
Determines if commands are currently being executed or not.
|
void |
refreshTaskTree()
This refreshes the projects and task list.
|
void |
removeCommandLineArgumentAlteringListener(CommandLineArgumentAlteringListenerVersion1 listener) |
void |
setCurrentDirectory(File currentDirectory) |
List<ProjectVersion1> getRootProjects()
void refreshTaskTree()
boolean isBusy()
void executeCommand(String commandLineArguments, String displayName)
commandLineArguments - the command line arguments to pass to gradle.displayName - the name displayed in the UI for this commandFile getCurrentDirectory()
void setCurrentDirectory(File currentDirectory)
currentDirectory - the new root directory of your gradle project.File getGradleHomeDirectory()
File getCustomGradleExecutable()
void addCommandLineArgumentAlteringListener(CommandLineArgumentAlteringListenerVersion1 listener)
listener - the listener that modifies the command line arguments.void removeCommandLineArgumentAlteringListener(CommandLineArgumentAlteringListenerVersion1 listener)
Copyright © 2013. All rights reserved