@Incubating class CreateStaticLibrary extends DefaultTask
Assembles a static library from object files.
Type | Name and description |
---|---|
File |
outputFile The file where the output binary will be located. |
List<String> |
staticLibArgs Additional arguments passed to the archiver. |
NativePlatform |
targetPlatform The platform being targeted. |
NativeToolChain |
toolChain The tool chain used for creating the static library. |
Constructor and description |
---|
CreateStaticLibrary
() |
Type | Name and description |
---|---|
def |
getOutputType() |
FileCollection |
getSource() The source object files to be passed to the archiver. |
void |
link() |
void |
source(Object source) Adds a set of object files to be linked. |
The file where the output binary will be located.
The platform being targeted.
The tool chain used for creating the static library.
The source object files to be passed to the archiver.
Adds a set of object files to be linked.
The provided source object is evaluated as per Project.files.
Gradle API 2.2-20140924021627+0000