Please see the code snippets here https://gist.github.com/klehno00/bba2dd6bf28febbb07a7/revisions
The “ear” project does not have a different publication configuration. I get the same error for any other project.
Project directory structures usually look like:
module
±build.gradle
±contract
±-src
±–main
±----java
±service
±web