Table of Contents
| API Documentation: | CreateStaticLibrary | 
|---|
Assembles a static library from object files.
| Property | Description | 
| outputFile | The file where the output binary will be located. | 
| source | The source object files to be passed to the archiver. | 
| staticLibArgs | Additional arguments passed to the archiver. | 
| targetPlatform | The platform being linked for. | 
| toolChain | The tool chain used for linking. | 
| Method | Description | 
| source(source) | Adds a set of object files to be linked. | 
RegularFileProperty outputFile
The file where the output binary will be located.
FileCollection source (read-only)
The source object files to be passed to the archiver.
ListProperty<String>staticLibArgs
ListProperty<String>Additional arguments passed to the archiver.
Property<NativePlatform>targetPlatform
Property<NativePlatform>The platform being linked for.
Property<NativeToolChain>toolChain
Property<NativeToolChain>The tool chain used for linking.
void source(Object source)
Adds a set of object files to be linked.
 The provided source object is evaluated as per Project.files(java.lang.Object[]).