api / org.gradle.language.assembler.tasks / Assemble

Assemble

@Incubating open class Assemble : DefaultTask

Translates Assembly language source files into object files.

Constructors

<init>

Assemble()

Functions

assemble

open fun assemble(): Unit

getAssemblerArgs

open fun getAssemblerArgs(): MutableList<String>

Additional arguments to provide to the assembler.

getIncludes

open fun getIncludes(): ConfigurableFileCollection

Returns the header directories to be used for compilation.

getObjectFileDir

open fun getObjectFileDir(): File

The directory where object files will be generated.

getOperationLoggerFactory

open fun getOperationLoggerFactory(): BuildOperationLoggerFactory

getSource

open fun getSource(): ConfigurableFileCollection

getTargetPlatform

open fun getTargetPlatform(): Property<NativePlatform>

The platform being compiled for.

getToolChain

open fun getToolChain(): Property<NativeToolChain>

The tool chain used for compilation.

includes

open fun includes(includeRoots: Any): Unit

Add directories where the compiler should search for header files.

setAssemblerArgs

open fun setAssemblerArgs(assemblerArgs: MutableList<String>): Unit

setObjectFileDir

open fun setObjectFileDir(objectFileDir: File): Unit

source

open fun source(sourceFiles: Any): Unit

Adds a set of assembler sources files to be translated. The provided sourceFiles object is evaluated as per org.gradle.api.Project#files(Object...).