# Class NativeInstallationSpec

java.lang.Object
org.gradle.nativeplatform.NativeInstallationSpec

@Incubating @Deprecated public class NativeInstallationSpec 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 the installation location for a native executable.

Since:
  2.9

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NativeInstallationSpec()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `File`
  `getDirectory()`
  Deprecated.
  Returns the directory.
  `void`
  `setDirectory(File directory)`
  Deprecated.
  Sets the directory.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### NativeInstallationSpec

    public NativeInstallationSpec()
    Deprecated.

- ## Method Details

  - ### getDirectory

    public File getDirectory()
    Deprecated.
    Returns the directory.
    Since:
      2.9

  - ### setDirectory

    public void setDirectory(File directory)
    Deprecated.
    Sets the directory.
    Since:
      2.9