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.
|
ListProperty<String> |
getConstructorAnnotations()
Returns the list of constructor annotations to add to the generated Scala code.
|
Property<TwirlImports> |
getDefaultImports()
Returns the default imports that will be used when compiling templates.
|
DirectoryProperty |
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, getConventionMappingcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConvention@Inject public TwirlCompile(WorkerExecutor workerExecutor)
@PathSensitive(value=RELATIVE) public FileTree getSource()
getSource in class SourceTask@OutputDirectory public DirectoryProperty getOutputDirectory()
@Optional @Input public Property<TwirlImports> getDefaultImports()
@Classpath public ConfigurableFileCollection getTwirlCompilerClasspath()
@Internal public Property<PlayPlatform> getPlatform()
@Input public ListProperty<TwirlTemplateFormat> getUserTemplateFormats()
@Input public ListProperty<String> getAdditionalImports()
@Input public ListProperty<String> getConstructorAnnotations()