|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.nativebinaries.tasks.CreateStaticLibrary
@Incubating class CreateStaticLibrary extends DefaultTask
Assembles a static library from object files.
Property Summary | |
---|---|
File |
outputFile
The file where the output binary will be located. |
List |
staticLibArgs
Additional arguments passed to the archiver. |
Platform |
targetPlatform
The platform being targeted. |
ToolChain |
toolChain
The tool chain used for creating the static library. |
Constructor Summary | |
CreateStaticLibrary()
|
Method Summary | |
---|---|
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. |
Property Detail |
---|
@OutputFile File outputFile
@Input List staticLibArgs
Platform targetPlatform
ToolChain toolChain
Constructor Detail |
---|
@Inject CreateStaticLibrary()
Method Detail |
---|
@Input def getOutputType()
@InputFiles @SkipWhenEmpty // Can't use field due to GRADLE-2026 FileCollection getSource()
@TaskAction void link()
void source(Object source)
The provided source object is evaluated as per Project.files.
Gradle API 1.12