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
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(InputChanges inputs) |
|
ListProperty<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() |
|
Map<String,String> |
getMacros() |
Macros that should be defined for the compiler.
|
org.gradle.internal.operations.logging.BuildOperationLoggerFactory |
getOperationLoggerFactory() |
|
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(Object includeRoots) |
Add directories where the compiler should search for header files.
|
void |
setMacros(Map<String,String> macros) |
|
void |
setOutputDir(File outputDir) |
|
void |
source(Object sourceFiles) |
Adds a set of source files to be compiled.
|
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
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
@Inject public org.gradle.language.nativeplatform.internal.incremental.IncrementalCompilerBuilder getIncrementalCompilerBuilder()
@Inject public org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory()
public void compile(InputChanges inputs)
@Internal public Property<NativeToolChain> getToolChain()
public Property<NativePlatform> getTargetPlatform()
@OutputDirectory public File getOutputDir()
public void setOutputDir(File outputDir)
@Incremental @PathSensitive(RELATIVE) @InputFiles public ConfigurableFileCollection getIncludes()
public void includes(Object includeRoots)
@SkipWhenEmpty @PathSensitive(RELATIVE) @InputFiles public ConfigurableFileCollection getSource()
public void source(Object sourceFiles)
Project.files(Object...)
.@Input public Map<String,String> getMacros()
@Input public ListProperty<String> getCompilerArgs()
@Incremental @InputFiles @PathSensitive(NAME_ONLY) protected FileCollection getHeaderDependencies()