Hi
You can either use the javaType rule to specify fully-qualified class names. Or, alternatively, put each schema in its own subdirectory and point the plugin at the parent. The subdirectory name will be added to the package name.
A final option would be to invoke the plugin multiple times.
Cheers
--
You received this message because you are subscribed to the Google Groups "jsonschema2pojo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsonschema2pojo-...@googlegroups.com.
Visit this group at https://groups.google.com/group/jsonschema2pojo-users.
For more options, visit https://groups.google.com/d/optout.
Hi
You can either use the javaType rule to specify fully-qualified class names. Or, alternatively, put each schema in its own subdirectory and point the plugin at the parent. The subdirectory name will be added to the package name.
A final option would be to invoke the plugin multiple times.
Cheers
On 11 Apr 2016 19:26, <capa...@gmail.com> wrote:
--Hi,I'm using the jsonschema2pojo Gradle plugin.In one of my projects, I have two distinct schema files, and I would like the generated POJOs placed into two different packages based on the schema file they were defined in.Is this possible?Thanks,Tony
You received this message because you are subscribed to the Google Groups "jsonschema2pojo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsonschema2pojo-users+unsub...@googlegroups.com.