Interface SourceTemplateSet

All Superinterfaces:
org.gradle.api.Named, TemplateSet
All Known Implementing Classes:
SourceTemplateSetImpl

public interface SourceTemplateSet extends TemplateSet
A template set for sources.
Since:
2.0.0
  • Method Details

    • groovy

      default void groovy()
      Configure to generate templates contributing to Groovy sources.
      Since:
      2.0.0
    • java

      void java()
      Configure to generate templates contributing to Java sources.
      Since:
      2.0.0
    • kotlin

      default void kotlin()
      Configure to generate templates contributing to Kotlin sources.
      Since:
      2.0.0
    • scala

      default void scala()
      Configure to generate templates contributing to Scala sources.
      Since:
      2.0.0
    • namedLanguageExtension

      void namedLanguageExtension(@NotNull @NotNull String name)
      Configure this template set to attach itself to a named SourceDirectorySet-typed extension on the target SourceSet.
      Parameters:
      name - the name of the language extension
      Since:
      2.0.0