Package net.kyori.blossom
Interface SourceTemplateSet
- All Superinterfaces:
org.gradle.api.Named,TemplateSet
- All Known Implementing Classes:
SourceTemplateSetImpl
A template set for sources.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
org.gradle.api.Named.Namer -
Method Summary
Modifier and TypeMethodDescriptiondefault voidgroovy()Configure to generate templates contributing to Groovy sources.voidjava()Configure to generate templates contributing to Java sources.default voidkotlin()Configure to generate templates contributing to Kotlin sources.voidnamedLanguageExtension(@NotNull String name) Configure this template set to attach itself to a namedSourceDirectorySet-typed extension on the targetSourceSet.default voidscala()Configure to generate templates contributing to Scala sources.Methods inherited from interface net.kyori.blossom.TemplateSet
getHeader, getIncludes, getName, getProperties, getPropertyFiles, getTemplates, getVariants, include, property, property, propertyFile, templates, variants, variants
-
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
Configure this template set to attach itself to a namedSourceDirectorySet-typed extension on the targetSourceSet.- Parameters:
name- the name of the language extension- Since:
- 2.0.0
-