java.lang.Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, ObjectFilesToBinary, Configurable<Task>LinkExecutable, LinkMachOBundle, LinkSharedLibrary@DisableCachingByDefault(because="Abstract super-class, not to be instantiated directly") public abstract class AbstractLinkTask extends DefaultTask implements ObjectFilesToBinary
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor | Description |
|---|---|
AbstractLinkTask() |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract org.gradle.nativeplatform.internal.LinkerSpec |
createLinkerSpec() |
|
protected CompilerVersion |
getCompilerVersion() |
The linker used, including the type and the version.
|
Property<java.lang.Boolean> |
getDebuggable() |
Create a debuggable binary?
|
protected org.gradle.internal.file.Deleter |
getDeleter() |
|
DirectoryProperty |
getDestinationDirectory() |
Include the destination directory as an output, to pick up auxiliary files produced alongside the main output file
|
ConfigurableFileCollection |
getLibs() |
The library files to be passed to the linker.
|
RegularFileProperty |
getLinkedFile() |
The file where the linked binary will be located.
|
ListProperty<java.lang.String> |
getLinkerArgs() |
Additional arguments passed to the linker.
|
protected org.gradle.internal.operations.logging.BuildOperationLoggerFactory |
getOperationLoggerFactory() |
|
ConfigurableFileCollection |
getSource() |
The source object files to be passed to the linker.
|
Property<NativePlatform> |
getTargetPlatform() |
The platform being linked for.
|
Property<NativeToolChain> |
getToolChain() |
The tool chain used for linking.
|
boolean |
isDebuggable() |
Create a debuggable binary?
|
void |
lib(java.lang.Object libs) |
Adds a set of library files to be linked.
|
protected void |
link() |
|
void |
setLibs(FileCollection libs) |
|
void |
setSource(FileCollection source) |
|
void |
source(java.lang.Object source) |
Adds a set of object files to be linked.
|
compareTo, 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, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtensionsconfigure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getPath, getProject, getShouldRunAfter, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService@Internal public Property<NativeToolChain> getToolChain()
public Property<NativePlatform> getTargetPlatform()
@OutputDirectory public DirectoryProperty getDestinationDirectory()
@OutputFile public RegularFileProperty getLinkedFile()
@Input public ListProperty<java.lang.String> getLinkerArgs()
@Internal public boolean isDebuggable()
@Input public Property<java.lang.Boolean> getDebuggable()
@InputFiles @SkipWhenEmpty @IgnoreEmptyDirectories @PathSensitive(RELATIVE) public ConfigurableFileCollection getSource()
public void setSource(FileCollection source)
@PathSensitive(RELATIVE) @InputFiles public ConfigurableFileCollection getLibs()
public void setLibs(FileCollection libs)
public void source(java.lang.Object source)
Project.files(Object...).source in interface ObjectFilesToBinarypublic void lib(java.lang.Object libs)
Project.files(Object...).protected CompilerVersion getCompilerVersion()
@Inject protected org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory()
@Inject protected org.gradle.internal.file.Deleter getDeleter()
protected void link()
protected abstract org.gradle.nativeplatform.internal.LinkerSpec createLinkerSpec()