From eb497a8f5db949ea661042371fbbc908f6524ea4 Mon Sep 17 00:00:00 2001 From: Iurii Malchenko Date: Fri, 4 Jan 2019 18:32:57 +0200 Subject: adding support for customizable constructor annotations, codec and "inclusive dot" (#481) --- docs/pages/9 - Contrib Modules.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/pages/9 - Contrib Modules.md') diff --git a/docs/pages/9 - Contrib Modules.md b/docs/pages/9 - Contrib Modules.md index cf63039a..b5ef8fc5 100644 --- a/docs/pages/9 - Contrib Modules.md +++ b/docs/pages/9 - Contrib Modules.md @@ -168,8 +168,10 @@ object app extends ScalaModule with TwirlModule { #### Configuration options * `def twirlVersion: T[String]` (mandatory) - the version of the twirl compiler to use, like "1.3.15" -* `def twirlAdditionalImports: Seq[String] = Nil` - the additional imports that will be added by twirl compiler to the top - of all templates +* `def twirlAdditionalImports: Seq[String] = Nil` - the additional imports that will be added by twirl compiler to the top of all templates +* `def twirlConstructorAnnotations: Seq[String] = Nil` - annotations added to the generated classes' constructors (note it only applies to templates with `@this(...)` constructors) +* `def twirlCodec = Codec(Properties.sourceEncoding)` - the codec used to generate the files (the default is the same sbt plugin uses) +* `def twirlInclusiveDot: Boolean = false` #### Details -- cgit v1.2.3