Skip to content

Commit

Permalink
don’t add jte-kotlin by default (#877)
Browse files Browse the repository at this point in the history
Close: #876
  • Loading branch information
sdelamo committed Sep 10, 2024
1 parent 245003a commit bf787c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/main/docs/guide/views/templates/jte.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Add the `micronaut-views-jte` dependency to your classpath.

dependency:micronaut-views-jte[groupId="io.micronaut.views"]

If you want to write your views in Kotlin, you can include an additional dependency:

dependency:jte-kotlin[groupId="gg.jte"]

The example shown in the <<views, Views>> section, could be rendered with the following Jte template:

[source,html]
Expand Down
2 changes: 1 addition & 1 deletion views-jte/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {
api(libs.managed.jte)

api projects.micronautViewsCore
implementation(libs.managed.jte.kotlin)
testImplementation(libs.managed.jte.kotlin)
testImplementation(mnSerde.micronaut.serde.jackson)
testImplementation(mn.reactor)
testImplementation(mn.micronaut.http.client)
Expand Down

0 comments on commit bf787c8

Please sign in to comment.