@Incubating public class InstallExecutable extends DefaultTask
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
InstallExecutable() |
Modifier and Type | Method and Description |
---|---|
File |
getDestinationDir()
The directory to install files into.
|
File |
getExecutable()
The executable file to install.
|
protected org.gradle.api.internal.file.FileOperations |
getFileOperations() |
protected org.gradle.internal.nativeintegration.filesystem.FileSystem |
getFileSystem() |
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.
|
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) |
void |
setExecutable(File executable) |
void |
setLibs(FileCollection libs) |
void |
setPlatform(NativePlatform platform) |
void |
setToolChain(ToolChain toolChain) |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, 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
public void setToolChain(ToolChain toolChain)
public NativePlatform getPlatform()
public void setPlatform(NativePlatform platform)
@OutputDirectory public File getDestinationDir()
public void setDestinationDir(File destinationDir)
@InputFile public File getExecutable()
public void setExecutable(File executable)
@InputFiles public FileCollection getLibs()
public void setLibs(FileCollection libs)
public void lib(Object libs)
Project.files(Object...)
.@Internal public File getRunScript()
@Inject protected org.gradle.internal.nativeintegration.filesystem.FileSystem getFileSystem()
@Inject protected org.gradle.api.internal.file.FileOperations getFileOperations()
public void install()