Dear,
I would like to generate java class as immutable, for this attributes are marked as final and entity is build from constructor with any setter.
How to do this with gradle ? what is the use of: - hibernate-gradle-plugin.gradle: https://github.com/hibernate/hibernate-orm/blob/master/tooling/hibernate-gradle-plugin/hibernate-gradle-plugin.gradle - hibernate-jpamodelgen.gradle: https://github.com/hibernate/hibernate-orm/blob/master/tooling/metamodel-generator/hibernate-jpamodelgen.gradle - source-generation.gradle: https://github.com/hibernate/hibernate-orm/blob/master/source-generation.gradle
Thanks you full and partial answers are welcome
Regards
|