We have a multi-module project that used a maven build with overlays to build a war from multiple sub-projects.
IDEA handled that fine: I was able to build and deploy from within IDEA without invoking maven.
Now I converted the project to gradle, but maven's overlay feature causes problems, because gradle does not support it and I found no way to emulate it that IDEA understands.
My current solution looks like:
overlay project(path: ':some-web', configuration: 'war')
However now I can only ever build with gradle. IDEA does not understand that the content of "some-web" should also go into the final war.
Goodbye to Ctrl-Shift-F9 to quickly compile/package a file :-(
Is there any way I can set up my gradle build, so that IDEA understands what should go into the final war?