We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First of all thanks for getting this project back to life.
The generated classes are annotated with @javax.annotation.Generated. For Java 17+ projects, it should be @jakarta.annotation.Generated.
@javax.annotation.Generated
@jakarta.annotation.Generated
The text was updated successfully, but these errors were encountered:
I see now that perhaps it needs to be done in the actual generator project first: assertj/assertj-assertions-generator#194
Sorry, something went wrong.
Yep, it's not part of the plugin! Closing this as you've already linked the right issue. 👍🏻
While we wait for the solution in the maven plugin to be merged, here is how to do the workaround presented here in gradle:
sourceSets { main { assertJ { templates { classes { assertionClass.file("src/main/resources/assertj/templates/_ins_custom_assertion_class_template.txt") entryPoints.assertions.file("src/main/resources/assertj/templates/_ins_standard_assertions_entry_point_class_template.txt") } } } } }
No branches or pull requests
First of all thanks for getting this project back to life.
The generated classes are annotated with
@javax.annotation.Generated
. For Java 17+ projects, it should be@jakarta.annotation.Generated
.The text was updated successfully, but these errors were encountered: