Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- apply(Project, IdeConfigurer.IdeImportAction) - Static method in class net.kyori.blossom.internal.IdeConfigurer
-
Applies the specified configuration action to configure IDE projects.
- apply(Project, PluginContainer, ExtensionContainer, TaskContainer) - Method in class net.kyori.blossom.Blossom
B
- Blossom - Class in net.kyori.blossom
-
A template processor for Gradle projects.
- Blossom() - Constructor for class net.kyori.blossom.Blossom
- BlossomExtension - Interface in net.kyori.blossom
-
Templating that applies to a specific source set.
- BlossomExtensionImpl - Class in net.kyori.blossom.internal
- BlossomExtensionImpl(ObjectFactory) - Constructor for class net.kyori.blossom.internal.BlossomExtensionImpl
- BuildParameters - Class in net.kyori.blossom.internal
C
- createDirectoriesSymlinkSafe(Path) - Static method in class net.kyori.blossom.internal.FileUtils
- customResources(String) - Method in interface net.kyori.blossom.BlossomExtension
-
Register an additional template set for resources.
- customResources(String, Action<? super ResourceTemplateSet>) - Method in interface net.kyori.blossom.BlossomExtension
-
Register an additional template set for resources.
- customSources(String, Action<? super SourceTemplateSet>) - Method in interface net.kyori.blossom.BlossomExtension
-
Register an additional template set for source templates.
D
- deleteContents(Path) - Static method in class net.kyori.blossom.internal.FileUtils
E
- eclipse(Project, EclipseModel) - Method in interface net.kyori.blossom.internal.IdeConfigurer.IdeImportAction
-
Configure an eclipse project.
- execute() - Method in class net.kyori.blossom.internal.worker.GenerateWorker
F
- FileUtils - Class in net.kyori.blossom.internal
G
- GenerateTemplates - Class in net.kyori.blossom
-
Generate real files based on templates and input parameters.
- GenerateTemplates() - Constructor for class net.kyori.blossom.GenerateTemplates
-
Create a new task (NOT to be called directly).
- GenerateWorker - Class in net.kyori.blossom.internal.worker
- GenerateWorker() - Constructor for class net.kyori.blossom.internal.worker.GenerateWorker
- GenerateWorker.Params - Interface in net.kyori.blossom.internal.worker
- getBaseSet() - Method in class net.kyori.blossom.GenerateTemplates
-
The set the template is generated from.
- getDestinationDirectory() - Method in interface net.kyori.blossom.internal.worker.GenerateWorker.Params
- getGlobalParameterFiles() - Method in interface net.kyori.blossom.internal.worker.GenerateWorker.Params
- getGlobalParameters() - Method in interface net.kyori.blossom.internal.worker.GenerateWorker.Params
- getHeader() - Method in class net.kyori.blossom.internal.TemplateSetImpl
- getHeader() - Method in interface net.kyori.blossom.internal.worker.GenerateWorker.Params
- getHeader() - Method in interface net.kyori.blossom.TemplateSet
-
A literal header to insert at the top of generated source files.
- getIncludes() - Method in class net.kyori.blossom.internal.TemplateSetImpl
- getIncludes() - Method in interface net.kyori.blossom.TemplateSet
-
Directories providing templates which can be included into process templates, but which will not be processed for output themselves.
- getIncludesDirectories() - Method in class net.kyori.blossom.GenerateTemplates
-
Files that can be included in templates, but that are not themselves templates.
- getIncludesDirectories() - Method in interface net.kyori.blossom.internal.worker.GenerateWorker.Params
- getName() - Method in class net.kyori.blossom.internal.TemplateSetImpl
- getName() - Method in class net.kyori.blossom.internal.VariantImpl
- getName() - Method in interface net.kyori.blossom.TemplateSet
- getName() - Method in interface net.kyori.blossom.Variant
- getObjects() - Method in class net.kyori.blossom.internal.TemplateSetImpl
- getOutputDir() - Method in class net.kyori.blossom.GenerateTemplates
-
Destination directory for template output.
- getPebbleClasspath() - Method in class net.kyori.blossom.GenerateTemplates
-
The worker classpath.
- getProperties() - Method in class net.kyori.blossom.internal.TemplateSetImpl
- getProperties() - Method in class net.kyori.blossom.internal.VariantImpl
- getProperties() - Method in interface net.kyori.blossom.TemplateSet
-
Runtime-defined properties.
- getProperties() - Method in interface net.kyori.blossom.Variant
-
Runtime properties for inserting into templates.
- getPropertyFiles() - Method in class net.kyori.blossom.internal.TemplateSetImpl
- getPropertyFiles() - Method in class net.kyori.blossom.internal.VariantImpl
- getPropertyFiles() - Method in interface net.kyori.blossom.TemplateSet
-
A collection of data files in YAML format.
- getPropertyFiles() - Method in interface net.kyori.blossom.Variant
-
Data files containing template parameters.
- getSetName() - Method in interface net.kyori.blossom.internal.worker.GenerateWorker.Params
- getSourceDirectories() - Method in class net.kyori.blossom.GenerateTemplates
-
Source directory for templates to process.
- getSourceDirectories() - Method in interface net.kyori.blossom.internal.worker.GenerateWorker.Params
- getTemplates() - Method in class net.kyori.blossom.internal.TemplateSetImpl
- getTemplates() - Method in interface net.kyori.blossom.TemplateSet
-
Directories containing templates.
- getTemplateSets() - Method in interface net.kyori.blossom.BlossomExtension
-
Get all currently registered template sets for this source set.
- getTemplateSets() - Method in class net.kyori.blossom.internal.BlossomExtensionImpl
- getVariantFiles() - Method in interface net.kyori.blossom.internal.worker.GenerateWorker.Params
- getVariantParameters() - Method in interface net.kyori.blossom.internal.worker.GenerateWorker.Params
- getVariants() - Method in class net.kyori.blossom.internal.TemplateSetImpl
- getVariants() - Method in interface net.kyori.blossom.TemplateSet
-
A container of template variants.
- getWorkerExecutor() - Method in class net.kyori.blossom.GenerateTemplates
- groovy() - Method in interface net.kyori.blossom.SourceTemplateSet
-
Configure to generate templates contributing to Groovy sources.
- GROOVY_SOURCES_TEMPLATE_SET_NAME - Static variable in interface net.kyori.blossom.BlossomExtension
- groovySources() - Method in interface net.kyori.blossom.BlossomExtension
-
Register a single primary template set for Groovy source templates named "groovy".
- groovySources(Action<? super SourceTemplateSet>) - Method in interface net.kyori.blossom.BlossomExtension
-
Register and configure a single primary template set for Groovy source templates named "groovy".
I
- idea(Project, IdeaModel, ProjectSettings) - Method in interface net.kyori.blossom.internal.IdeConfigurer.IdeImportAction
-
Configure an IntelliJ project.
- IdeConfigurer - Class in net.kyori.blossom.internal
-
Configures different IDEs when applicable.
- IdeConfigurer.IdeImportAction - Interface in net.kyori.blossom.internal
- include(Object...) - Method in interface net.kyori.blossom.TemplateSet
-
Add includes directories to the template path.
- isEclipseImport() - Static method in class net.kyori.blossom.internal.IdeConfigurer
-
Get whether this Gradle invocation is from an Eclipse project import.
- isIdeaImport() - Static method in class net.kyori.blossom.internal.IdeConfigurer
-
Get whether Gradle is being invoked through IntelliJ IDEA.
J
- java() - Method in class net.kyori.blossom.internal.SourceTemplateSetImpl
- java() - Method in interface net.kyori.blossom.SourceTemplateSet
-
Configure to generate templates contributing to Java sources.
- JAVA_SOURCES_TEMPLATE_SET_NAME - Static variable in interface net.kyori.blossom.BlossomExtension
- javaSources() - Method in interface net.kyori.blossom.BlossomExtension
-
Register a single primary template set for Java source templates named "java".
- javaSources(Action<? super SourceTemplateSet>) - Method in interface net.kyori.blossom.BlossomExtension
-
Register and configure a single primary template set for Java source templates named "java".
K
- kotlin() - Method in interface net.kyori.blossom.SourceTemplateSet
-
Configure to generate templates contributing to Kotlin sources.
- KOTLIN_SOURCES_TEMPLATE_SET_NAME - Static variable in interface net.kyori.blossom.BlossomExtension
- kotlinSources() - Method in interface net.kyori.blossom.BlossomExtension
-
Register a single primary template set for Kotlin source templates named "kotlin".
- kotlinSources(Action<? super SourceTemplateSet>) - Method in interface net.kyori.blossom.BlossomExtension
-
Register and configure a single primary template set for Kotlin source templates named "kotlin".
M
- minimumGradleVersion() - Method in class net.kyori.blossom.Blossom
N
- namedLanguageExtension(String) - Method in class net.kyori.blossom.internal.SourceTemplateSetImpl
- namedLanguageExtension(String) - Method in interface net.kyori.blossom.SourceTemplateSet
-
Configure this template set to attach itself to a named
SourceDirectorySet-typed extension on the targetSourceSet. - net.kyori.blossom - package net.kyori.blossom
-
A flexible template processor for Gradle projects.
- net.kyori.blossom.internal - package net.kyori.blossom.internal
- net.kyori.blossom.internal.worker - package net.kyori.blossom.internal.worker
P
- PEBBLE_VERSION - Static variable in class net.kyori.blossom.internal.BuildParameters
- properties(Action<MapProperty<String, Object>>) - Method in interface net.kyori.blossom.Variant
-
Register multiple properties for this variant.
- property(String, String) - Method in interface net.kyori.blossom.TemplateSet
-
Set a single property for this template.
- property(String, Provider<String>) - Method in interface net.kyori.blossom.TemplateSet
-
Set a single property for this template.
- propertyFile(Object) - Method in interface net.kyori.blossom.TemplateSet
-
Add a data file for variable data.
R
- registerOutputWithSet(SourceSet, TaskProvider<GenerateTemplates>) - Method in class net.kyori.blossom.internal.ResourceTemplateSetImpl
- registerOutputWithSet(SourceSet, TaskProvider<GenerateTemplates>) - Method in class net.kyori.blossom.internal.SourceTemplateSetImpl
- registerOutputWithSet(SourceSet, TaskProvider<GenerateTemplates>) - Method in interface net.kyori.blossom.internal.TemplateSetInternal
- resolveOutputRoot(Directory) - Method in class net.kyori.blossom.internal.ResourceTemplateSetImpl
- resolveOutputRoot(Directory) - Method in class net.kyori.blossom.internal.SourceTemplateSetImpl
- resolveOutputRoot(Directory) - Method in interface net.kyori.blossom.internal.TemplateSetInternal
- RESOURCE_TEMPLATE_SET_NAME - Static variable in interface net.kyori.blossom.BlossomExtension
- resources() - Method in interface net.kyori.blossom.BlossomExtension
-
Register a single primary template set for resource templates.
- resources(Action<? super ResourceTemplateSet>) - Method in interface net.kyori.blossom.BlossomExtension
-
Register a single primary template set for resource templates.
- ResourceTemplateSet - Interface in net.kyori.blossom
-
A template set type targeting resources.
- ResourceTemplateSetImpl - Class in net.kyori.blossom.internal
-
A template set that is configured to attach its generated output as a resource directory.
- ResourceTemplateSetImpl(String) - Constructor for class net.kyori.blossom.internal.ResourceTemplateSetImpl
S
- scala() - Method in interface net.kyori.blossom.SourceTemplateSet
-
Configure to generate templates contributing to Scala sources.
- SCALA_SOURCES_TEMPLATE_SET_NAME - Static variable in interface net.kyori.blossom.BlossomExtension
- scalaSources() - Method in interface net.kyori.blossom.BlossomExtension
-
Register a single primary template set for Scala source templates named "scala".
- scalaSources(Action<? super SourceTemplateSet>) - Method in interface net.kyori.blossom.BlossomExtension
-
Register and configure a single primary template set for Scala source templates named "scala".
- SNAKEYAML_VERSION - Static variable in class net.kyori.blossom.internal.BuildParameters
- SourceTemplateSet - Interface in net.kyori.blossom
-
A template set for sources.
- SourceTemplateSetImpl - Class in net.kyori.blossom.internal
- SourceTemplateSetImpl(String) - Constructor for class net.kyori.blossom.internal.SourceTemplateSetImpl
T
- templates(Object...) - Method in interface net.kyori.blossom.TemplateSet
-
Add one or more directories containing templates.
- TemplateSet - Interface in net.kyori.blossom
-
A set of templates associated with one source sets.
- TemplateSetImpl - Class in net.kyori.blossom.internal
-
A directory of templates.
- TemplateSetImpl(String) - Constructor for class net.kyori.blossom.internal.TemplateSetImpl
- TemplateSetInternal - Interface in net.kyori.blossom.internal
-
Internal hooks for template sets.
- templateSets(Action<PolymorphicDomainObjectContainer<TemplateSet>>) - Method in interface net.kyori.blossom.BlossomExtension
-
Configure template sets that apply to this source set.
V
- Variant - Interface in net.kyori.blossom
-
Template variant.
- VariantImpl - Class in net.kyori.blossom.internal
- VariantImpl(String, ObjectFactory) - Constructor for class net.kyori.blossom.internal.VariantImpl
- variants(String...) - Method in interface net.kyori.blossom.TemplateSet
-
Register variants with certain names to be produced.
- variants(Action<NamedDomainObjectSet<Variant>>) - Method in interface net.kyori.blossom.TemplateSet
-
Configure produced variants.
All Classes and Interfaces|All Packages|Constant Field Values