abstract class ProjectOperationsProxy extends Object
| Constructor and description |
|---|
protected ProjectOperationsProxy
(Project tempProjectReference) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
ReadableResource |
bzip2Resource(Object compressedFile)Creates resource that points to a bzip2 compressed file at the given path. |
|
WorkResult |
copy(Action<? super CopySpec> action)Performs a copy according to copy specification. |
|
CopySpec |
copySpec(Action<? super CopySpec> action)Creates a CopySpec which can later be used to copy files or create an archive. |
|
boolean |
delete(Object... paths) |
|
WorkResult |
delete(Action<? super DeleteSpec> action) |
|
ExecResult |
exec(Action<? super ExecSpec> action)Executes the specified external process. |
|
protected ArchiveOperationsProxy |
getArchiveOperations() |
|
ConsoleOutput |
getConsoleOutput()Console output mode |
|
protected ExecOperationsProxy |
getExecOperations() |
|
ExtensionContainer |
getExtensions()Extensions container for the project. |
|
protected FileSystemOperationsProxy |
getFileSystemOperations() |
|
LogLevel |
getGradleLogLevel()Get the minimum log level for Gradle. |
|
Provider<File> |
getGradleUserHomeDir()Gradle user home directory. |
|
ProviderFactory |
getProviders()A reference to the provider factory. |
|
ReadableResource |
gzipResource(Object compressedFile)Creates resource that points to a gzip compressed file at the given path. |
|
boolean |
isOffline()Whether Gradle is operating in offline mode. |
|
boolean |
isRefreshDependencies()Whether dependencies should be refreshed. |
|
boolean |
isRerunTasks()Whether tasks should be re-ruin |
|
ExecResult |
javaexec(Action<? super JavaExecSpec> action)Executes the specified external java process. |
|
FileTree |
tarTree(Object tarPath)Returns a TAR tree presentation |
|
FileTree |
zipTree(Object zipPath)Returns a ZIP tree presentation |
Creates resource that points to a bzip2 compressed file at the given path.
compressedFile - File evaluated as per file.Performs a copy according to copy specification.
action - Copy specificationCreates a CopySpec which can later be used to copy files or create an archive. The given action is used to configure the CopySpec before it is returned by this method.
action - Action to configure the CopySpecExecutes the specified external process.
Console output mode
Extensions container for the project.
Gradle user home directory. Usually ~/.gradle on non -Windows.
A reference to the provider factory.
Creates resource that points to a gzip compressed file at the given path.
compressedFile - File evaluated as per file.Whether Gradle is operating in offline mode.
true if offline.Whether dependencies should be refreshed.
true to check dependencies again.Whether tasks should be re-ruin
true if tasks were set to be re-run.Executes the specified external java process.
Returns a TAR tree presentation
tarPath - Path to tar file