Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, ObjectFilesToBinary, org.gradle.util.Configurable<Task>LinkExecutable, LinkMachOBundle, LinkSharedLibrary@Incubating 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<Boolean> |
getDebuggable() |
Create a debuggable binary?
|
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<String> |
getLinkerArgs() |
Additional arguments passed to the linker.
|
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(Object libs) |
Adds a set of library files to be linked.
|
void |
link() |
|
void |
setLibs(FileCollection libs) |
|
void |
setSource(FileCollection source) |
|
void |
source(Object source) |
Adds a set of object files to be linked.
|
newInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTogetExtensionsconfigure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getPath, getProject, getShouldRunAfter, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter@Internal public Property<NativeToolChain> getToolChain()
public Property<NativePlatform> getTargetPlatform()
@OutputDirectory public DirectoryProperty getDestinationDirectory()
@OutputFile public RegularFileProperty getLinkedFile()
@Input public ListProperty<String> getLinkerArgs()
@Internal public boolean isDebuggable()
@Input public Property<Boolean> getDebuggable()
@PathSensitive(RELATIVE) @InputFiles @SkipWhenEmpty public ConfigurableFileCollection getSource()
public void setSource(FileCollection source)
@PathSensitive(RELATIVE) @InputFiles public ConfigurableFileCollection getLibs()
public void setLibs(FileCollection libs)
public void source(Object source)
Project.files(Object...).source in interface ObjectFilesToBinarypublic void lib(Object libs)
Project.files(Object...).protected CompilerVersion getCompilerVersion()
@Inject public org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory()
public void link()
protected abstract org.gradle.nativeplatform.internal.LinkerSpec createLinkerSpec()