Package org.gradle.nativeplatform.tasks
Klasse AbstractLinkTask
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.nativeplatform.tasks.AbstractLinkTask
- Alle implementierten Schnittstellen:
Comparable<Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,Named,ExtensionAware,Task,ObjectFilesToBinary,Configurable<Task>
- Bekannte direkte Unterklassen:
LinkExecutable,LinkMachOBundle,LinkSharedLibrary
@DisableCachingByDefault(because="Abstract super-class, not to be instantiated directly")
public abstract class AbstractLinkTask
extends DefaultTask
implements ObjectFilesToBinary
Base task for linking a native binary from object files and libraries.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Task
Task.Namer -
Feldübersicht
Von Schnittstelle geerbte Felder org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected abstract org.gradle.nativeplatform.internal.LinkerSpecprotected CompilerVersionThe linker used, including the type and the version.Create a debuggable binary?protected org.gradle.internal.file.DeleterInclude the destination directory as an output, to pick up auxiliary files produced alongside the main output filegetLibs()The library files to be passed to the linker.The file where the linked binary will be located.Additional arguments passed to the linker.protected org.gradle.internal.operations.logging.BuildOperationLoggerFactoryThe source object files to be passed to the linker.The platform being linked for.The tool chain used for linking.booleanCreate a debuggable binary?voidAdds a set of library files to be linked.protected voidlink()voidsetLibs(FileCollection libs) voidsetSource(FileCollection source) voidAdds a set of object files to be linked.Von Klasse geerbte Methoden org.gradle.api.DefaultTask
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, usesServiceVon Klasse geerbte Methoden org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden java.lang.Comparable
compareToVon Schnittstelle geerbte Methoden org.gradle.api.plugins.ExtensionAware
getExtensionsVon Schnittstelle geerbte Methoden org.gradle.api.Task
configure, 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
-
Konstruktordetails
-
AbstractLinkTask
public AbstractLinkTask()
-
-
Methodendetails
-
getToolChain
The tool chain used for linking.- Seit:
- 4.7
-
getTargetPlatform
The platform being linked for.- Seit:
- 4.7
-
getDestinationDirectory
Include the destination directory as an output, to pick up auxiliary files produced alongside the main output file- Seit:
- 4.7
-
getLinkedFile
The file where the linked binary will be located.- Seit:
- 4.7
-
getLinkerArgs
Additional arguments passed to the linker.- Seit:
- 4.3
-
isDebuggable
Create a debuggable binary?- Seit:
- 4.7
-
getDebuggable
Create a debuggable binary?- Seit:
- 4.7
-
getSource
@InputFiles @SkipWhenEmpty @IgnoreEmptyDirectories @PathSensitive(RELATIVE) public ConfigurableFileCollection getSource()The source object files to be passed to the linker. -
setSource
-
getLibs
The library files to be passed to the linker. -
setLibs
-
source
Adds a set of object files to be linked. The provided source object is evaluated as perProject.files(Object...).- Angegeben von:
sourcein SchnittstelleObjectFilesToBinary
-
lib
Adds a set of library files to be linked. The provided libs object is evaluated as perProject.files(Object...). -
getCompilerVersion
The linker used, including the type and the version.- Seit:
- 4.7
-
getOperationLoggerFactory
@Inject protected org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory() -
getDeleter
@Inject protected org.gradle.internal.file.Deleter getDeleter() -
link
protected void link() -
createLinkerSpec
protected abstract org.gradle.nativeplatform.internal.LinkerSpec createLinkerSpec()
-