Package: org.gradle.nativebinaries.language.assembler.tasks

## [Groovy] Class Assemble

- org.gradle.nativebinaries.language.assembler.tasks.Assemble

- Translates Assembly language source files into object files.

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `List<String>` | `assemblerArgs` Additional arguments to provide to the assembler.
    `File` | `objectFileDir` The directory where object files will be generated.
    `Platform` | `targetPlatform` The platform being targeted.
    `ToolChain` | `toolChain`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `Assemble ()`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `assemble()`
    `def` | `getOutputType()`
    `FileCollection` | `getSource()`
    `void` | `source(Object sourceFiles)` Adds a set of assembler sources files to be translated.

- - ### Property Detail

    - #### @Input List<String> assemblerArgs

      Additional arguments to provide to the assembler.

    - #### @OutputDirectory File objectFileDir

      The directory where object files will be generated.

    - #### Platform targetPlatform

      The platform being targeted.

    - #### ToolChain toolChain

  - ### Constructor Detail

    - #### @Inject Assemble()

  - ### Method Detail

    - #### @TaskAction void assemble()

    - #### @Input def getOutputType()

    - #### @InputFiles @SkipWhenEmpty // Workaround for GRADLE-2026 FileCollection getSource()

    - #### void source(Object sourceFiles)

      Adds a set of assembler sources files to be translated. The provided sourceFiles object is evaluated as per Project.files.