Class WindowsResourceCompile

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.language.rc.tasks.WindowsResourceCompile
All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, org.gradle.util.Configurable<Task>

@Incubating public class WindowsResourceCompile extends DefaultTask
Compiles Windows Resource scripts into .res files.
  • Constructor Details

    • WindowsResourceCompile

      public WindowsResourceCompile()
  • Method Details

    • getIncrementalCompilerBuilder

      @Inject public org.gradle.language.nativeplatform.internal.incremental.IncrementalCompilerBuilder getIncrementalCompilerBuilder()
    • getOperationLoggerFactory

      @Inject public org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory()
    • compile

      public void compile(IncrementalTaskInputs inputs)
    • getToolChain

      @Internal public NativeToolChain getToolChain()
      The tool chain used for compilation.
    • setToolChain

      public void setToolChain(NativeToolChain toolChain)
    • getTargetPlatform

      public NativePlatform getTargetPlatform()
      The platform being targeted.
    • setTargetPlatform

      public void setTargetPlatform(NativePlatform targetPlatform)
    • getOutputDir

      @OutputDirectory public File getOutputDir()
      The directory where object files will be generated.
    • setOutputDir

      public void setOutputDir(File outputDir)
    • getIncludes

      @InputFiles public FileCollection getIncludes()
      Returns the header directories to be used for compilation.
    • includes

      public void includes(Object includeRoots)
      Add directories where the compiler should search for header files.
    • getSource

      @InputFiles public FileCollection getSource()
      Returns the source files to be compiled.
    • source

      public void source(Object sourceFiles)
      Adds a set of source files to be compiled. The provided sourceFiles object is evaluated as per Project.files(Object...).
    • getMacros

      @Input public Map<String,String> getMacros()
      Macros that should be defined for the compiler.
    • setMacros

      public void setMacros(Map<String,String> macros)
    • getCompilerArgs

      @Input public List<String> getCompilerArgs()
      Additional arguments to provide to the compiler.
    • setCompilerArgs

      public void setCompilerArgs(List<String> compilerArgs)