
org.webpieces.gradle.compiler.TemplateSourceSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugin-htmlcompiler Show documentation
Show all versions of gradle-plugin-htmlcompiler Show documentation
Gradle plugin to compile html files to java Class files for production use
The newest version!
package org.webpieces.gradle.compiler;
import javax.annotation.Nullable;
import org.gradle.api.Action;
import org.gradle.api.file.SourceDirectorySet;
import groovy.lang.Closure;
public interface TemplateSourceSet {
/**
* Returns the source to be compiled by the Webpieces *.html/*.tag/*.json compiler for this source set.
*
* @return The Html/*.tag/*.json source. Never returns null.
*/
SourceDirectorySet getTemplateDirSet();
/**
* Configures the Groovy source for this set.
*
* The given closure is used to configure the {@link SourceDirectorySet} which contains the Groovy source.
*
* @param configureClosure The closure to use to configure the Groovy source.
* @return this
*/
@SuppressWarnings("rawtypes")
TemplateSourceSet template(@Nullable Closure configureClosure);
/**
* Configures the Groovy source for this set.
*
*
The given action is used to configure the {@link SourceDirectorySet} which contains the Groovy source.
*
* @param configureAction The action to use to configure the Groovy source.
* @return this
*/
TemplateSourceSet template(Action super SourceDirectorySet> configureAction);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy