Package org.gradle.nativeplatform
Interface NativeLibrarySpec
- All Superinterfaces:
- ComponentSpec,- GeneralComponentSpec,- LibrarySpec,- ModelElement,- Named,- NativeComponentSpec,- PlatformAwareComponentSpec,- SourceComponentSpec,- TargetedNativeComponent,- VariantComponent,- VariantComponentSpec
@Incubating
public interface NativeLibrarySpec
extends LibrarySpec, NativeComponentSpec, TargetedNativeComponent
Definition of a native library component that is to be built by Gradle.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier and TypeMethodDescriptiongetApi()Converts this library to a native library requirement that uses the api library linkage.Converts this library to a native library requirement that uses the shared library variant.Converts this library to a native library requirement that uses the static library variant.Methods inherited from interface org.gradle.platform.base.ComponentSpecgetProjectPathMethods inherited from interface org.gradle.model.ModelElementgetDisplayNameMethods inherited from interface org.gradle.nativeplatform.NativeComponentSpecgetBaseName, setBaseNameMethods inherited from interface org.gradle.platform.base.PlatformAwareComponentSpectargetPlatformMethods inherited from interface org.gradle.platform.base.SourceComponentSpecgetSourcesMethods inherited from interface org.gradle.nativeplatform.TargetedNativeComponenttargetBuildTypes, targetFlavorsMethods inherited from interface org.gradle.platform.base.VariantComponentgetName, getVariantsMethods inherited from interface org.gradle.platform.base.VariantComponentSpecgetBinaries
- 
Method Details
- 
getStaticNativeLibraryRequirement getStatic()Converts this library to a native library requirement that uses the static library variant.
- 
getApiNativeLibraryRequirement getApi()Converts this library to a native library requirement that uses the api library linkage.