# AssemblerSourceSet

@Incubating
interface AssemblerSourceSet : LanguageSourceSet(source)

A set of assembly language sources.

    plugins {
        id 'assembler'
    }

    model {
        components {
            main(NativeLibrarySpec) {
                sources {
                    asm {
                        source {
                            srcDirs "src/main/i386", "src/shared/asm"
                            include "**/*.s"
                        }
                    }
                }
            }
        }
    }

Content copied to clipboard

## Functions

builtBy
Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
Adds tasks required to build this component.
generatedBy
Link copied to clipboard
abstract fun generatedBy(generatorTask: Task)
getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
Returns a dependency which contains the tasks which build this artifact.
getBuildTask
Link copied to clipboard
@Nullable
abstract fun getBuildTask(): @Nullable Task
Returns the task responsible for building this component.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this element.
getName
Link copied to clipboard
abstract fun getName(): String
Returns the name of this element.
getParentName
Link copied to clipboard
@Nullable
abstract fun getParentName(): @Nullable String
getProjectPath
Link copied to clipboard
abstract fun getProjectPath(): String
The path to the project containing this component.
getSource
Link copied to clipboard
abstract fun getSource(): SourceDirectorySet
The source files.
hasBuildDependencies
Link copied to clipboard
abstract fun hasBuildDependencies(): Boolean
setBuildTask
Link copied to clipboard
abstract fun setBuildTask(@Nullable buildTask: @Nullable Task)
Specifies the task responsible for building this component.