api / org.gradle.language.twirl / TwirlTemplateFormat

TwirlTemplateFormat

@Incubating interface TwirlTemplateFormat

Twirl Template format mapping

Since
4.2

Functions

getExtension

abstract fun getExtension(): String

Extension without the leading '.'.

getFormatType

abstract fun getFormatType(): String

Fully qualified class name for the template format.

getTemplateImports

abstract fun getTemplateImports(): MutableCollection<String>

Imports that are needed for this template format.

These are just the packages or individual classes in Scala format. Use my.package._ and not my.package.*.