Class Assemble
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.language.assembler.tasks.Assemble
- All Implemented Interfaces:
Comparable<Task>
,org.gradle.api.internal.DynamicObjectAware
,org.gradle.api.internal.TaskInternal
,ExtensionAware
,Task
,org.gradle.util.Configurable<Task>
Translates Assembly language source files into object files.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Task
Task.Namer
-
Field Summary
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assemble()
Additional arguments to provide to the assembler.Returns the header directories to be used for compilation.The directory where object files will be generated.org.gradle.internal.operations.logging.BuildOperationLoggerFactory
The platform being targeted.The tool chain being used to build.void
Add directories where the compiler should search for header files.void
setAssemblerArgs
(List<String> assemblerArgs) void
setObjectFileDir
(File objectFileDir) void
setTargetPlatform
(NativePlatform targetPlatform) void
setToolChain
(NativeToolChain toolChain) void
Adds a set of assembler sources files to be translated.Methods inherited from class org.gradle.api.DefaultTask
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
Methods inherited from class org.gradle.api.internal.AbstractTask
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
-
Constructor Details
-
Assemble
@Inject public Assemble()
-
-
Method Details
-
getOperationLoggerFactory
@Inject public org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory() -
assemble
public void assemble() -
getSource
-
source
Adds a set of assembler sources files to be translated. The provided sourceFiles object is evaluated as perProject.files(Object...)
. -
getAssemblerArgs
Additional arguments to provide to the assembler. -
setAssemblerArgs
-
getToolChain
The tool chain being used to build. -
setToolChain
-
getTargetPlatform
The platform being targeted. -
setTargetPlatform
-
getObjectFileDir
The directory where object files will be generated. -
setObjectFileDir
-
getIncludes
Returns the header directories to be used for compilation.- Since:
- 4.4
-
includes
Add directories where the compiler should search for header files.- Since:
- 4.4
-