Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, org.gradle.util.Configurable<Task>
@Incubating public class InstallExecutable extends DefaultTask
Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
InstallExecutable(org.gradle.internal.work.WorkerLeaseService workerLeaseService) |
Injects a
WorkerLeaseService instance. |
Modifier and Type | Method | Description |
---|---|---|
RegularFileProperty |
getExecutableFile() |
The executable file to install.
|
protected org.gradle.api.internal.file.FileOperations |
getFileOperations() |
|
protected org.gradle.internal.nativeintegration.filesystem.FileSystem |
getFileSystem() |
|
protected File |
getInputFileIfExists() |
Workaround for when the task is given an input file that doesn't exist
|
DirectoryProperty |
getInstallDirectory() |
The directory to install files into.
|
RegularFileProperty |
getInstalledExecutable() |
The location of the installed executable file.
|
FileCollection |
getLibs() |
The library files that should be installed.
|
Provider<RegularFile> |
getRunScriptFile() |
Returns the script file that can be used to run the install image.
|
Property<NativePlatform> |
getTargetPlatform() |
The platform being linked for.
|
Property<NativeToolChain> |
getToolChain() |
The tool chain used for linking.
|
void |
install() |
|
void |
lib(Object libs) |
Adds a set of library files to be installed.
|
void |
setLibs(FileCollection libs) |
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
@Inject public InstallExecutable(org.gradle.internal.work.WorkerLeaseService workerLeaseService)
WorkerLeaseService
instance.@Internal public Property<NativeToolChain> getToolChain()
public Property<NativePlatform> getTargetPlatform()
@OutputDirectory public DirectoryProperty getInstallDirectory()
@Internal("Covered by inputFileIfExists") public RegularFileProperty getExecutableFile()
@OutputFile public RegularFileProperty getInstalledExecutable()
@SkipWhenEmpty @Nullable @Optional @PathSensitive(NAME_ONLY) @InputFile protected File getInputFileIfExists()
@PathSensitive(RELATIVE) @InputFiles public FileCollection getLibs()
public void setLibs(FileCollection libs)
public void lib(Object libs)
Project.files(Object...)
.@Internal("covered by getInstallDirectory") public Provider<RegularFile> getRunScriptFile()
@Inject protected org.gradle.internal.nativeintegration.filesystem.FileSystem getFileSystem()
@Inject protected org.gradle.api.internal.file.FileOperations getFileOperations()
public void install()