Interface NativeLibrarySpec

All Superinterfaces:
ComponentSpec, GeneralComponentSpec, LibrarySpec, ModelElement, Named, NativeComponentSpec, PlatformAwareComponentSpec, SourceComponentSpec, TargetedNativeComponent, VariantComponent, VariantComponentSpec

Deprecated.
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. cpp-application, cpp-library, swift-application, swift-library, xctest) instead.
Definition of a native library component that is to be built by Gradle.
  • Method Details

    • getShared

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

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

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