Package org.gradle.nativeplatform
Interface StaticLibraryBinarySpec
-
- All Superinterfaces:
Binary,BinarySpec,Buildable,BuildableComponentSpec,CheckableComponentSpec,ComponentSpec,LibraryBinarySpec,ModelElement,Named,NativeBinarySpec,NativeLibraryBinarySpec
@Incubating public interface StaticLibraryBinarySpec extends NativeLibraryBinarySpec
A static library binary built by Gradle for a native library.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStaticLibraryBinarySpec.TasksCollectionProvides access to key tasks used for building the binary.-
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadditionalLinkFiles(FileCollection files)Add some additional files required by consumers of this library at link time.java.io.FilegetStaticLibraryFile()The static library file.StaticLibraryBinarySpec.TasksCollectiongetTasks()The set of tasks associated with this binary.voidsetStaticLibraryFile(java.io.File staticLibraryFile)The static library binary file.-
Methods inherited from interface org.gradle.platform.base.Binary
getDisplayName
-
Methods inherited from interface org.gradle.platform.base.BinarySpec
getInputs, getSources, isBuildable
-
Methods inherited from interface org.gradle.api.Buildable
getBuildDependencies
-
Methods inherited from interface org.gradle.api.BuildableComponentSpec
builtBy, getBuildTask, hasBuildDependencies, setBuildTask
-
Methods inherited from interface org.gradle.api.CheckableComponentSpec
checkedBy, getCheckTask, setCheckTask
-
Methods inherited from interface org.gradle.platform.base.ComponentSpec
getProjectPath
-
Methods inherited from interface org.gradle.model.ModelElement
getDisplayName, getName
-
Methods inherited from interface org.gradle.nativeplatform.NativeBinarySpec
getAssembler, getBuildType, getcCompiler, getCppCompiler, getFlavor, getLibs, getLinker, getObjcCompiler, getObjcppCompiler, getRcCompiler, getStaticLibArchiver, getTargetPlatform, getToolChain, lib
-
Methods inherited from interface org.gradle.nativeplatform.NativeLibraryBinarySpec
getComponent, getLibrary
-
-
-
-
Method Detail
-
getStaticLibraryFile
java.io.File getStaticLibraryFile()
The static library file.
-
setStaticLibraryFile
void setStaticLibraryFile(java.io.File staticLibraryFile)
The static library binary file.
-
additionalLinkFiles
void additionalLinkFiles(FileCollection files)
Add some additional files required by consumers of this library at link time.
-
getTasks
StaticLibraryBinarySpec.TasksCollection getTasks()
The set of tasks associated with this binary.- Specified by:
getTasksin interfaceBinarySpec
-
-