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

[issue-5860] - Java generator: fix the Gradle plugin configuration #5871

Closed
Closed
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
2 changes: 1 addition & 1 deletion doc/java-generation-from-CRD.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The properties that can be used in the `javaGen` closure are the one defined by
The Gradle plugin defines a `crd2java` task (see `gradle tasks --all`), that can be applied or called directly, e.g.:

```shell
gradle crd2Java
gradle crd2java
```

## Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void setExtraAnnotations(final Boolean isExtraAnnotations) {
*
*/
public Boolean getGeneratedAnnotations() {
return javaGeneratorConfig.isUppercaseEnums();
return javaGeneratorConfig.isGeneratedAnnotations();
}

public void setGeneratedAnnotations(final Boolean isGeneratedAnnotations) {
Expand Down Expand Up @@ -191,7 +191,7 @@ public List<String> getFilesSuffixes() {
return javaGeneratorConfig.getFilesSuffixes();
}

public void setPackageOverrides(final List<String> filesSuffixes) {
public void setFilesSuffixes(final List<String> filesSuffixes) {
javaGeneratorConfig = new Config(javaGeneratorConfig.isUppercaseEnums(),
javaGeneratorConfig.isObjectExtraAnnotations(),
javaGeneratorConfig.isGeneratedAnnotations(),
Expand Down
Loading