Package org.gradle.nativeplatform.tasks
Class InstallExecutable
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.nativeplatform.tasks.InstallExecutable
- All Implemented Interfaces:
- Comparable<Task>,- org.gradle.api.internal.DynamicObjectAware,- org.gradle.api.internal.TaskInternal,- Named,- ExtensionAware,- Task,- Configurable<Task>
@DisableCachingByDefault(because="Not worth caching")
public abstract class InstallExecutable
extends DefaultTask
Installs an executable with it's dependent libraries so it can be easily executed.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.TaskTask.Namer
- 
Field SummaryFields inherited from interface org.gradle.api.TaskTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
- 
Constructor SummaryConstructorsConstructorDescriptionInstallExecutable(org.gradle.internal.work.WorkerLeaseService workerLeaseService) Injects aWorkerLeaseServiceinstance.
- 
Method SummaryModifier and TypeMethodDescriptionThe executable file to install.protected org.gradle.internal.nativeintegration.filesystem.FileSystemprotected FileSystemOperationsprotected FileWorkaround for when the task is given an input file that doesn't existThe directory to install files into.The location of the installed executable file.getLibs()The library files that should be installed.Returns the script file that can be used to run the install image.The platform being linked for.The tool chain used for linking.protected voidinstall()voidAdds a set of library files to be installed.voidsetLibs(FileCollection libs) Methods inherited from class org.gradle.api.DefaultTaskcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceMethods inherited from class org.gradle.api.internal.AbstractTaskacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.TaskdoNotTrackState, getConvention, notCompatibleWithConfigurationCache
- 
Constructor Details- 
InstallExecutable@Inject public InstallExecutable(org.gradle.internal.work.WorkerLeaseService workerLeaseService) Injects aWorkerLeaseServiceinstance.- Since:
- 4.2
 
 
- 
- 
Method Details- 
getToolChainThe tool chain used for linking.- Since:
- 4.7
 
- 
getTargetPlatformThe platform being linked for.- Since:
- 4.7
 
- 
getInstallDirectoryThe directory to install files into.- Since:
- 4.1
 
- 
getExecutableFileThe executable file to install.- Since:
- 4.7
 
- 
getInstalledExecutableThe location of the installed executable file.- Since:
- 4.7
 
- 
getInputFileIfExists@SkipWhenEmpty @Nullable @Optional @PathSensitive(NAME_ONLY) @InputFile protected File getInputFileIfExists()Workaround for when the task is given an input file that doesn't exist- Since:
- 4.3
 
- 
getLibsThe library files that should be installed.
- 
setLibs
- 
libAdds a set of library files to be installed. The provided libs object is evaluated as perProject.files(Object...).
- 
getRunScriptFileReturns the script file that can be used to run the install image.- Since:
- 4.4
 
- 
getFileSystem@Inject protected org.gradle.internal.nativeintegration.filesystem.FileSystem getFileSystem()
- 
getFileSystemOperations
- 
installprotected void install()
 
-