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