javalin / javalin-rendering

Artifact/module for server-side template/markdown rendering in Javalin: https://javalin.io/plugins/rendering
Apache License 2.0
10 stars 7 forks source link

Fix compilation of jte templates #2

Closed casid closed 2 years ago

casid commented 2 years ago

I was able to reproduce #1 locally. Somehow the generated Java template could not access the JteTestPage data class located within TestTemplates.kt.

I migrated JteTestPage to a plain old Java class, which locally did the trick.

Let's see if this fixes it on your CI, too.

If all goes well, I can bump to jte 2.1.1 if you like :-)

tipsy commented 2 years ago

Thanks @casid! A 2x bump would be great too :)