Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, ObjectFilesToBinary, org.gradle.util.Configurable<Task>@Incubating public class CreateStaticLibrary 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 | 
|---|---|
| CreateStaticLibrary() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| RegularFileProperty | getBinaryFile() | The file where the linked binary will be located. | 
| org.gradle.internal.operations.logging.BuildOperationLoggerFactory | getOperationLoggerFactory() | |
| RegularFileProperty | getOutputFile() | The file where the output binary will be located. | 
| FileCollection | getSource() | The source object files to be passed to the archiver. | 
| ListProperty<String> | getStaticLibArgs() | Additional arguments passed to the archiver. | 
| Property<NativePlatform> | getTargetPlatform() | The platform being linked for. | 
| Property<NativeToolChain> | getToolChain() | The tool chain used for linking. | 
| void | link() | |
| 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@PathSensitive(RELATIVE) @InputFiles @SkipWhenEmpty public FileCollection getSource()
public void source(Object source)
 The provided source object is evaluated as per Project.files(Object...).
source in interface ObjectFilesToBinary@Inject public org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory()
public void link()
@Internal public Property<NativeToolChain> getToolChain()
public Property<NativePlatform> getTargetPlatform()
@OutputFile public RegularFileProperty getOutputFile()
@Internal public RegularFileProperty getBinaryFile()
@Input public ListProperty<String> getStaticLibArgs()