@Incubating public class WindowsResourceCompile extends DefaultTask
Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
WindowsResourceCompile() |
Modifier and Type | Method | Description |
---|---|---|
void |
compile(IncrementalTaskInputs inputs) |
|
java.util.List<java.lang.String> |
getCompilerArgs() |
Additional arguments to provide to the compiler.
|
protected FileCollection |
getHeaderDependencies() |
The set of dependent headers.
|
ConfigurableFileCollection |
getIncludes() |
Returns the header directories to be used for compilation.
|
org.gradle.language.nativeplatform.internal.incremental.IncrementalCompilerBuilder |
getIncrementalCompilerBuilder() |
|
java.util.Map<java.lang.String,java.lang.String> |
getMacros() |
Macros that should be defined for the compiler.
|
org.gradle.internal.operations.logging.BuildOperationLoggerFactory |
getOperationLoggerFactory() |
|
java.io.File |
getOutputDir() |
The directory where object files will be generated.
|
ConfigurableFileCollection |
getSource() |
Returns the source files to be compiled.
|
Property<NativePlatform> |
getTargetPlatform() |
The platform being compiled for.
|
Property<NativeToolChain> |
getToolChain() |
The tool chain used for compilation.
|
void |
includes(java.lang.Object includeRoots) |
Add directories where the compiler should search for header files.
|
void |
setCompilerArgs(java.util.List<java.lang.String> compilerArgs) |
|
void |
setMacros(java.util.Map<java.lang.String,java.lang.String> macros) |
|
void |
setOutputDir(java.io.File outputDir) |
|
void |
source(java.lang.Object sourceFiles) |
Adds a set of source files to be compiled.
|
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
@Inject public org.gradle.language.nativeplatform.internal.incremental.IncrementalCompilerBuilder getIncrementalCompilerBuilder()
@Inject public org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory()
public void compile(IncrementalTaskInputs inputs)
@Internal public Property<NativeToolChain> getToolChain()
public Property<NativePlatform> getTargetPlatform()
@OutputDirectory public java.io.File getOutputDir()
public void setOutputDir(java.io.File outputDir)
@PathSensitive(RELATIVE) @InputFiles public ConfigurableFileCollection getIncludes()
public void includes(java.lang.Object includeRoots)
@PathSensitive(RELATIVE) @InputFiles public ConfigurableFileCollection getSource()
public void source(java.lang.Object sourceFiles)
Project.files(Object...)
.@Input public java.util.Map<java.lang.String,java.lang.String> getMacros()
public void setMacros(java.util.Map<java.lang.String,java.lang.String> macros)
@Input public java.util.List<java.lang.String> getCompilerArgs()
public void setCompilerArgs(java.util.List<java.lang.String> compilerArgs)
@InputFiles @PathSensitive(NAME_ONLY) protected FileCollection getHeaderDependencies()