Package org.gradle.nativeplatform.tasks
Klasse CreateStaticLibrary
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.nativeplatform.tasks.CreateStaticLibrary
- Alle implementierten Schnittstellen:
Comparable<Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,Named,ExtensionAware,Task,ObjectFilesToBinary,Configurable<Task>
@DisableCachingByDefault(because="Not made cacheable, yet")
public abstract class CreateStaticLibrary
extends DefaultTask
implements ObjectFilesToBinary
Assembles a static library from object files.
-
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 TypMethodeBeschreibungThe file where the linked binary will be located.org.gradle.internal.operations.logging.BuildOperationLoggerFactoryThe file where the output binary will be located.The source object files to be passed to the archiver.Additional arguments passed to the archiver.The platform being linked for.The tool chain used for linking.protected voidlink()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
-
CreateStaticLibrary
public CreateStaticLibrary()
-
-
Methodendetails
-
getSource
@InputFiles @SkipWhenEmpty @IgnoreEmptyDirectories @PathSensitive(RELATIVE) public FileCollection getSource()The source object files to be passed to the archiver. -
source
Adds a set of object files to be linked.The provided source object is evaluated as per
Project.files(Object...).- Angegeben von:
sourcein SchnittstelleObjectFilesToBinary
-
getOperationLoggerFactory
@Inject public org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory() -
link
protected void link() -
getToolChain
The tool chain used for linking.- Seit:
- 4.7
-
getTargetPlatform
The platform being linked for.- Seit:
- 4.7
-
getOutputFile
The file where the output binary will be located. -
getBinaryFile
The file where the linked binary will be located.- Seit:
- 4.5
-
getStaticLibArgs
Additional arguments passed to the archiver.- Seit:
- 4.7
-