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