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 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.