Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don’t add jte-kotlin by default #877

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading