Compiles Windows Resource scripts into .res files.
| Type | Name and description |
|---|---|
List<String> |
compilerArgsAdditional arguments to provide to the compiler. |
FileCollection |
includesReturns the header directories to be used for compilation. |
Map<String, String> |
macrosMacros that should be defined for the compiler. |
File |
outputDirThe directory where object files will be generated. |
FileCollection |
sourceReturns the source files to be compiled. |
Platform |
targetPlatformThe platform being targeted. |
ToolChain |
toolChainThe tool chain used for compilation. |
| Constructor and description |
|---|
WindowsResourceCompile
() |
| Type | Name and description |
|---|---|
void |
compile(IncrementalTaskInputs inputs) |
IncrementalCompilerBuilder |
getIncrementalCompilerBuilder() |
def |
getOutputType() |
void |
includes(Object includeRoots)Add directories where the compiler should search for header files. |
void |
source(Object sourceFiles)Adds a set of source files to be compiled. |
Returns the header directories to be used for compilation.
The directory where object files will be generated.
Returns the source files to be compiled.
The platform being targeted.
The tool chain used for compilation.
Add directories where the compiler should search for header files.
Adds a set of source files to be compiled. The provided sourceFiles object is evaluated as per Project.files.
Gradle API 2.1