org.gradle.language.twirl

## Interface TwirlSourceSet

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

      @Incubating
      public interface TwirlSourceSet
      extends LanguageSourceSet

  Represents a source set containing twirl templates

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.gradle.api.Named

      `Named.Namer`

  - ### Method Summary

    Methods
    Modifier and Type | Method 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

    - ### Methods inherited from interface org.gradle.language.base.LanguageSourceSet

      `generatedBy, getParentName, getSource`

    - ### Methods inherited from interface org.gradle.api.BuildableComponentSpec

      `builtBy, getBuildTask, hasBuildDependencies, setBuildTask`

    - ### Methods inherited from interface org.gradle.api.Buildable

      `getBuildDependencies`

    - ### Methods inherited from interface org.gradle.platform.base.ComponentSpec

      `getProjectPath`

    - ### Methods inherited from interface org.gradle.model.ModelElement

      `getDisplayName, getName`

- - ### Method Detail

    - #### getDefaultImports

          TwirlImports getDefaultImports()

      The default imports that should be added to generated source files

    - #### setDefaultImports

          void setDefaultImports(TwirlImports defaultImports)

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