I would like to add to the documentation a section specific to getting up and running with Kotlin and KTE templates.
Points I've run into that would be good to document:
1- Kotlin templates need to be named with .kte, you can't use Kotlin code in a .jte file.
2- Add the jte-kotlin dependency using compileOnly so it doesn't bring in the Kotlin compiled (~60mb)
3- Various gotchas and error messages
Non-null parameters missing from a template (error isn't clear, but recognizable once it is known)
Null lists in a @for block error messages
4- Sub-tempate syntax:
I would like to add to the documentation a section specific to getting up and running with Kotlin and KTE templates.
Points I've run into that would be good to document:
1- Kotlin templates need to be named with
.kte
, you can't use Kotlin code in a.jte
file. 2- Add thejte-kotlin
dependency usingcompileOnly
so it doesn't bring in the Kotlin compiled (~60mb) 3- Various gotchas and error messages@for
block error messages 4- Sub-tempate syntax:Would these additions be welcome as a new section in the docs?