This gives the following error:

Execution failed for task ':generateSchemaSource'.
> xjc doesn't support the "packageName" attribute

Any suggestions on how to get this to work?