api / org.gradle.language.twirl / TwirlTemplateFormat / getTemplateImports

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.*.

Return
collection of imports to be added after the default Twirl imports