Templates jte
Module templates_jte¶
jte template engine adapter for Hexagon.
For usage instructions, refer to the Templates Port documentation.
Install the Dependency¶
1 2 3 4 5 |
|
1 2 3 4 5 |
|
Use the Adapter¶
In order to use this adapter you need to set up a build plugin to compile the templates. To do so in
Gradle, add the following lines to build.gradle.kts
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
TODO¶
- Don't create
jte-classes
directory - Generate template classes only for tests
- Test file loaded templates
- Test plain test templates
Package com.hexagonkt.templates.jte¶
Classes that implement the Templates Port interface with the jte engine.