@Incubating public class InstallExecutable extends DefaultTask implements GroovyObject
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.
|
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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setProperty
public Object getProperty(String property)
getProperty
in interface GroovyObject
public Object invokeMethod(String name, Object args)
invokeMethod
in interface GroovyObject
public MetaClass getMetaClass()
getMetaClass
in interface GroovyObject
public void setMetaClass(MetaClass metaClass)
setMetaClass
in interface GroovyObject
public 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()