Package net.kyori.blossom.internal
Class SourceTemplateSetImpl
java.lang.Object
net.kyori.blossom.internal.TemplateSetImpl
net.kyori.blossom.internal.SourceTemplateSetImpl
- All Implemented Interfaces:
TemplateSetInternal,SourceTemplateSet,TemplateSet,org.gradle.api.Named
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
org.gradle.api.Named.Namer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidjava()Configure to generate templates contributing to Java sources.voidnamedLanguageExtension(@NotNull String name) Configure this template set to attach itself to a namedSourceDirectorySet-typed extension on the targetSourceSet.voidregisterOutputWithSet(org.gradle.api.tasks.SourceSet destination, org.gradle.api.tasks.TaskProvider<GenerateTemplates> generateTask) org.gradle.api.file.DirectoryresolveOutputRoot(org.gradle.api.file.Directory generatedDir) Methods inherited from class net.kyori.blossom.internal.TemplateSetImpl
getHeader, getIncludes, getName, getObjects, getProperties, getPropertyFiles, getTemplates, getVariantsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.kyori.blossom.SourceTemplateSet
groovy, kotlin, scalaMethods inherited from interface net.kyori.blossom.TemplateSet
getHeader, getIncludes, getName, getProperties, getPropertyFiles, getTemplates, getVariants, include, property, property, propertyFile, templates, variants, variants
-
Constructor Details
-
SourceTemplateSetImpl
-
-
Method Details
-
resolveOutputRoot
public org.gradle.api.file.Directory resolveOutputRoot(org.gradle.api.file.Directory generatedDir) - Specified by:
resolveOutputRootin interfaceTemplateSetInternal
-
registerOutputWithSet
public void registerOutputWithSet(org.gradle.api.tasks.SourceSet destination, org.gradle.api.tasks.TaskProvider<GenerateTemplates> generateTask) - Specified by:
registerOutputWithSetin interfaceTemplateSetInternal
-
java
public void java()Description copied from interface:SourceTemplateSetConfigure to generate templates contributing to Java sources.- Specified by:
javain interfaceSourceTemplateSet
-
namedLanguageExtension
Description copied from interface:SourceTemplateSetConfigure this template set to attach itself to a namedSourceDirectorySet-typed extension on the targetSourceSet.- Specified by:
namedLanguageExtensionin interfaceSourceTemplateSet- Parameters:
name- the name of the language extension
-