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.
  • Method Details

    • getShared

      Converts this library to a native library requirement that uses the shared library variant. This is the default.
    • getStatic

      Converts this library to a native library requirement that uses the static library variant.
    • getApi

      Converts this library to a native library requirement that uses the api library linkage.