@Incubating public class InstallExecutable extends DefaultTask implements GroovyObject
Task.NamerTASK_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.
|
MetaClass |
getMetaClass() |
NativePlatform |
getPlatform()
The platform describing the install target.
|
Object |
getProperty(String property) |
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() |
Object |
invokeMethod(String name,
Object args) |
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 |
setMetaClass(MetaClass metaClass) |
void |
setPlatform(NativePlatform platform) |
void |
setToolChain(ToolChain toolChain) |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, 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, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetPropertypublic Object getProperty(String property)
getProperty in interface GroovyObjectpublic Object invokeMethod(String name, Object args)
invokeMethod in interface GroovyObjectpublic MetaClass getMetaClass()
getMetaClass in interface GroovyObjectpublic void setMetaClass(MetaClass metaClass)
setMetaClass in interface GroovyObjectpublic ToolChain getToolChain()
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...).public File getRunScript()
@Inject protected org.gradle.internal.nativeintegration.filesystem.FileSystem getFileSystem()
@Inject protected org.gradle.api.internal.file.FileOperations getFileOperations()
public void install()