diff --git a/meta/module-info.java b/meta/module-info.java new file mode 100644 index 0000000..daea68d --- /dev/null +++ b/meta/module-info.java @@ -0,0 +1,14 @@ +module io.javalin.rendering { + requires io.javalin; + requires transitive kotlin.stdlib; + + requires static thymeleaf; + requires static com.github.mustachejava; + requires static freemarker; + requires static gg.jte; + requires static gg.jte.runtime; + requires static io.pebbletemplates; + + exports io.javalin.rendering.template; + exports io.javalin.rendering.markdown; +} diff --git a/pom.xml b/pom.xml index aa35fa1..63ca80e 100644 --- a/pom.xml +++ b/pom.xml @@ -226,6 +226,26 @@ + + org.moditect + moditect-maven-plugin + 1.0.0.Final + + + add-module-infos + package + + add-module-info + + + true + + ./meta/module-info.java + + + + +