Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all articles
Browse latest Browse all 2540

Reply To: JRebel + Gradle + Intellij – rebel.xml files have wrong build path

$
0
0

Hi Nicholas,

I tested our IntelliJ plugin with various Gradle project configurations and it works correctly if the setting “Create separate module per source set” is disabled:
gradle-example

Otherwise the “projectname_test” and “projectname_main” modules are created in IntelliJ and our plugin simply lists all modules available.

The gradle plugin works fine. Can’t you just copy the code from that?

Unfortunately the gradle and IntelliJ plugins are very different, similarly how IntelliJ treats maven and gradle projects. It has its own definition of a project and modules that can be synced with a gradle or maven project, but they are still disconnected.
The JRebel IntelliJ plugin only uses the project information from the IDE itself while the gradle plugin reads it from the build script.

Let me know whether deselecting the option and re-creating rebel.xml-s works for you.


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>