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

jte-models: Update docs with correct language values #283

Merged
Merged
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
12 changes: 6 additions & 6 deletions jte-models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ To use jte-models, set up your build script to include one of these:
<extensions>
<extension>
<className>gg.jte.models.generator.ModelExtension</className>
<!-- optional settings to configure the target language (Java and Kotlin are supported):
<!-- optional settings to configure the target language ("Java" and "Kotlin" are supported):
<settings>
<language>java</language>
<language>Java</language>
</settings>
-->
<!-- optional settings to include annotations on generated classes:
Expand Down Expand Up @@ -80,8 +80,8 @@ jte {
// or to configure the generator
/*
jteExtension('gg.jte.models.generator.ModelExtension') {
// Target language (Java and Kotlin are supported). "Java" is the default.
language = 'java'
// Target language ("Java" and "Kotlin" are supported). "Java" is the default.
language = 'Java'

// Annotations to add to generated interfaces and classes
interfaceAnnotation = '@foo.bar.MyAnnotation'
Expand Down Expand Up @@ -117,8 +117,8 @@ jte {
// or to configure the generator:
/*
jteExtension("gg.jte.models.generator.ModelExtension") {
// Target language (Java and Kotlin are supported). "Java" is the default.
property("language", "java")
// Target language ("Java" and "Kotlin" are supported). "Java" is the default.
property("language", "Java")

// Annotations to add to generated interfaces and classes
property("interfaceAnnotation", "@foo.bar.MyAnnotation")
Expand Down