@Incubating public class InstallExecutable extends DefaultTask
Task.NamerTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
InstallExecutable(org.gradle.internal.work.WorkerLeaseService workerLeaseService)
Injects a
WorkerLeaseService instance. |
| Modifier and Type | Method and Description |
|---|---|
File |
getDestinationDir()
Deprecated.
|
File |
getExecutable()
Deprecated.
Use
getSourceFile(). |
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.
|
FileCollection |
getLibs()
The library files that should be installed.
|
NativePlatform |
getPlatform()
The platform describing the install target.
|
File |
getRunScript()
Returns the script file that can be used to run the install image.
|
Provider<RegularFile> |
getRunScriptFile()
Returns the script file that can be used to run the install image.
|
RegularFileProperty |
getSourceFile()
The executable file to install.
|
ToolChain |
getToolChain()
The tool chain used for linking.
|
void |
install() |
void |
lib(Object libs)
Adds a set of library files to be installed.
|
void |
setDestinationDir(File destinationDir)
Deprecated.
|
void |
setExecutable(File executable)
Deprecated.
Use
getSourceFile(). |
void |
setLibs(FileCollection libs) |
void |
setPlatform(NativePlatform platform) |
void |
setToolChain(ToolChain toolChain) |
newInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Inject public InstallExecutable(org.gradle.internal.work.WorkerLeaseService workerLeaseService)
WorkerLeaseService instance.public void setToolChain(ToolChain toolChain)
public NativePlatform getPlatform()
public void setPlatform(NativePlatform platform)
@OutputDirectory public DirectoryProperty getInstallDirectory()
@Deprecated @Internal public File getDestinationDir()
getInstallDirectory().@Deprecated public void setDestinationDir(File destinationDir)
getInstallDirectory().@Internal(value="Covered by inputFileIfExists") public RegularFileProperty getSourceFile()
@Deprecated @Internal(value="Covered by inputFileIfExists") public File getExecutable()
getSourceFile().@Deprecated public void setExecutable(File executable)
getSourceFile().@SkipWhenEmpty @Optional @InputFile protected File getInputFileIfExists()
@InputFiles public FileCollection getLibs()
public void setLibs(FileCollection libs)
public void lib(Object libs)
Project.files(Object...).@Internal(value="covered by getInstallDirectory") public File getRunScript()
@Internal(value="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()