NativeBinary (Gradle API 9.7.0)
Description: declaration: package: org.gradle.nativeplatform, interface: NativeBinary

# Interface NativeBinary

All Superinterfaces:
  `Binary`

All Known Subinterfaces:
  `NativeExecutableBinary, NativeLibraryBinary, PrebuiltSharedLibraryBinary, PrebuiltStaticLibraryBinary, SharedLibraryBinary, StaticLibraryBinary`

@Incubating @Deprecated public interface NativeBinary extends Binary
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.
Represents a particular binary artifact.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `BuildType`
  `getBuildType()`
  Deprecated.
  Returns the `BuildType` used to construct this binary.
  `Flavor`
  `getFlavor()`
  Deprecated.
  The `Flavor` that this binary was built with.
  `NativePlatform`
  `getTargetPlatform()`
  Deprecated.
  Returns the `NativePlatform` that this binary is targeted to run on.

  ### Methods inherited from interface Binary

  `getDisplayName`

- ## Method Details

  - ### getFlavor

    Flavor getFlavor()
    Deprecated.
    The `Flavor` that this binary was built with.

  - ### getTargetPlatform

    NativePlatform getTargetPlatform()
    Deprecated.
    Returns the `NativePlatform` that this binary is targeted to run on.

  - ### getBuildType

    BuildType getBuildType()
    Deprecated.
    Returns the `BuildType` used to construct this binary.