TwirlSourceSet (Gradle API 2.14.1)

Package: org.gradle.language.twirl

## [Java] Interface TwirlSourceSet

- org.gradle.language.twirl.TwirlSourceSet

- All Superinterfaces:
    ModelElement, LanguageSourceSet, ComponentSpec, Named, Buildable

  Represents a source set containing twirl templates

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `TwirlImports` | `getDefaultImports()` The default imports that should be added to generated source files
    `void` | `setDefaultImports(TwirlImports defaultImports)` Sets the default imports that should be added to generated source files to the given language

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface LanguageSourceSet` | `generatedBy, getParentName, getSource`
    `interface BuildableComponentSpec` | `builtBy, hasBuildDependencies, setBuildTask, getBuildTask, getBuildDependencies, getProjectPath, getName, getDisplayName`

- - ### Method Detail

    - #### public TwirlImports getDefaultImports()

      The default imports that should be added to generated source files

    - #### public void setDefaultImports(TwirlImports defaultImports)

      Sets the default imports that should be added to generated source files to the given language