diff options
author | Iurii Malchenko <yurique@pm.me> | 2019-01-04 18:32:57 +0200 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2019-01-04 08:32:57 -0800 |
commit | eb497a8f5db949ea661042371fbbc908f6524ea4 (patch) | |
tree | e30eac430ae2faf3fc2317fbc33a692cc5bd91a0 /docs | |
parent | 54b797c2b682b0583a2f87b7da22ca9a59b8df37 (diff) | |
download | mill-eb497a8f5db949ea661042371fbbc908f6524ea4.tar.gz mill-eb497a8f5db949ea661042371fbbc908f6524ea4.tar.bz2 mill-eb497a8f5db949ea661042371fbbc908f6524ea4.zip |
adding support for customizable constructor annotations, codec and "inclusive dot" (#481)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pages/9 - Contrib Modules.md | 6 |
1 files changed, 4 insertions, 2 deletions
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 |