public class TwirlCompile
extends org.gradle.api.tasks.SourceTask
| Constructor and Description |
|---|
TwirlCompile(org.gradle.workers.WorkerExecutor workerExecutor) |
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.provider.ListProperty<String> |
getAdditionalImports()
Returns the list of additional imports to add to the generated Scala code.
|
org.gradle.api.provider.ListProperty<String> |
getConstructorAnnotations()
Returns the list of constructor annotations to add to the generated Scala code.
|
org.gradle.api.provider.Property<TwirlImports> |
getDefaultImports()
Returns the default imports that will be used when compiling templates.
|
org.gradle.api.file.DirectoryProperty |
getOutputDirectory()
Returns the directory to generate the parser source files into.
|
org.gradle.api.provider.Property<PlayPlatform> |
getPlatform() |
org.gradle.api.file.FileTree |
getSource() |
org.gradle.api.file.ConfigurableFileCollection |
getTwirlCompilerClasspath() |
org.gradle.api.provider.ListProperty<TwirlTemplateFormat> |
getUserTemplateFormats()
Returns the custom template formats configured for this task.
|
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSet, 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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects@Inject public TwirlCompile(org.gradle.workers.WorkerExecutor workerExecutor)
@PathSensitive(value=RELATIVE) public org.gradle.api.file.FileTree getSource()
getSource in class org.gradle.api.tasks.SourceTask@OutputDirectory public org.gradle.api.file.DirectoryProperty getOutputDirectory()
@Optional @Input public org.gradle.api.provider.Property<TwirlImports> getDefaultImports()
@Classpath public org.gradle.api.file.ConfigurableFileCollection getTwirlCompilerClasspath()
@Internal public org.gradle.api.provider.Property<PlayPlatform> getPlatform()
@Input public org.gradle.api.provider.ListProperty<TwirlTemplateFormat> getUserTemplateFormats()
@Input public org.gradle.api.provider.ListProperty<String> getAdditionalImports()
@Input public org.gradle.api.provider.ListProperty<String> getConstructorAnnotations()