# Class NativeExecutableFileSpec

java.lang.Object
org.gradle.nativeplatform.NativeExecutableFileSpec

@Incubating @Deprecated public class NativeExecutableFileSpec extends Object
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.
Specifies how to build and where to place a native executable file.

TODO:HH resolve naming conflict with existing NativeExecutableSpec

Since:
  2.9

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NativeExecutableFileSpec()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `File`
  `getFile()`
  Deprecated.
  Returns the file.
  `NativeToolChain`
  `getToolChain()`
  Deprecated.
  The Tool Chain that produces the native executable.
  `void`
  `setFile(File file)`
  Deprecated.
  Sets the file.
  `void`
  `setToolChain(NativeToolChain toolChain)`
  Deprecated.
  Sets the Tool Chain that produces the native executable.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NativeExecutableFileSpec

    public NativeExecutableFileSpec()
    Deprecated.

- ## Method Details

  - ### getFile

    public File getFile()
    Deprecated.
    Returns the file.
    Since:
      2.9

  - ### setFile

    public void setFile(File file)
    Deprecated.
    Sets the file.
    Since:
      2.9

  - ### getToolChain

    public NativeToolChain getToolChain()
    Deprecated.
    The Tool Chain that produces the native executable.
    Since:
      4.7

  - ### setToolChain

    public void setToolChain(NativeToolChain toolChain)
    Deprecated.
    Sets the Tool Chain that produces the native executable.
    Since:
      4.7