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 Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer -
Method Summary
Modifier 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.ComponentSpec
getProjectPathMethods inherited from interface org.gradle.model.ModelElement
getDisplayNameMethods inherited from interface org.gradle.nativeplatform.NativeComponentSpec
getBaseName, setBaseNameMethods inherited from interface org.gradle.platform.base.PlatformAwareComponentSpec
targetPlatformMethods inherited from interface org.gradle.platform.base.SourceComponentSpec
getSourcesMethods inherited from interface org.gradle.nativeplatform.TargetedNativeComponent
targetBuildTypes, targetFlavorsMethods inherited from interface org.gradle.platform.base.VariantComponent
getName, getVariantsMethods inherited from interface org.gradle.platform.base.VariantComponentSpec
getBinaries
-
Method Details
-
getStatic
NativeLibraryRequirement getStatic()Converts this library to a native library requirement that uses the static library variant. -
getApi
NativeLibraryRequirement getApi()Converts this library to a native library requirement that uses the api library linkage.