I've got my jrebel + intelliJ + gradle project all loaded.
I would like to be able to use jrebel to hot deploy any of the sub-modules of my gradle project. this project has many nested projects.
I use the Intelli-J jrebel plugin to create the rebel.xml files automatically by using the View -> Tool Windows -> Jrebel
view and select the sub-modules that I want to hot deploy from.
The rebel.xml files it creates are set to listen to this directory: /some/GradleProjectRoot/build/classes/production/submodule
But intelliJ automatically compiles my source here:
/some/GradleProjectRoot/submodule/build/classes/main
why did it choose this "production" directory and how can I get it to start using the right one?
NOTE: Editing the rebel.xml manually to the correct path works to get hot deploy running. but that's not ideal to edit 40 different rebel.xml files!