Class StripSymbols

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.nativeplatform.tasks.StripSymbols
All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Task, Configurable<Task>

@DisableCachingByDefault(because="Not made cacheable, yet") public abstract class StripSymbols extends DefaultTask
Strips the debug symbols from a binary
Since:
4.5
  • Constructor Details

    • StripSymbols

      public StripSymbols()
  • Method Details

    • getBinaryFile

      @InputFile @PathSensitive(NONE) public abstract RegularFileProperty getBinaryFile()
      The file that debug symbols should be stripped from. Note that this file remains unchanged and a new stripped binary will be written to the file specified by {getOutputFile()}.
      Since:
      4.5
    • getOutputFile

      @OutputFile public abstract RegularFileProperty getOutputFile()
      The destination to write the stripped binary to.
      Since:
      4.5
    • getToolChain

      @Internal public abstract Property<NativeToolChain> getToolChain()
      The tool chain used for striping symbols.
      Since:
      4.7
    • getTargetPlatform

      public abstract Property<NativePlatform> getTargetPlatform()
      The platform for the binary.
      Since:
      4.7
    • stripSymbols

      protected void stripSymbols()
      Strip symbols.
      Since:
      4.5