public class TwirlCompile extends SourceTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
TwirlCompile(WorkerExecutor workerExecutor) |
| Modifier and Type | Method and Description |
|---|---|
ListProperty<String> |
getAdditionalImports()
Returns the list of additional imports to add to the generated Scala code.
|
Property<TwirlImports> |
getDefaultImports()
Returns the default imports that will be used when compiling templates.
|
Property<Directory> |
getOutputDirectory()
Returns the directory to generate the parser source files into.
|
Property<PlayPlatform> |
getPlatform() |
FileTree |
getSource() |
ConfigurableFileCollection |
getTwirlCompilerClasspath() |
ListProperty<TwirlTemplateFormat> |
getUserTemplateFormats()
Returns the custom template formats configured for this task.
|
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSetFactory, include, include, include, include, setExcludes, setIncludes, setSource, setSource, sourceconventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Inject public TwirlCompile(WorkerExecutor workerExecutor)
@PathSensitive(value=RELATIVE) public FileTree getSource()
getSource in class SourceTask@OutputDirectory public Property<Directory> getOutputDirectory()
@Nullable @Optional @Input public Property<TwirlImports> getDefaultImports()
@Classpath @PathSensitive(value=RELATIVE) public ConfigurableFileCollection getTwirlCompilerClasspath()
@Internal public Property<PlayPlatform> getPlatform()
@Input public ListProperty<TwirlTemplateFormat> getUserTemplateFormats()
@Input public ListProperty<String> getAdditionalImports()