Hans Dockter wrote:
It is quite a pain to create the new module file for a Gradle IntelliJ project as the dependencies are no longer in a lib folder but come from the local cache.
I have added an 'ide' task to the Gradle build, which will copy all the runtime and test runtime jars into the 'lib' directory (ie where they used to be). Then you can just point IntelliJ at the lib directory rather than into various spots in the cache. Plus when the dependencies change, you can just re-run the task and IntelliJ will pick up the changes. At some point I'd like to extend this to fetch the source artifacts as well.
Personally, I would like something like the 'ide' task in one of the plugins, as something I could use along with, or instead of, the IDE project generation tasks. Perhaps we need an 'ide' plugin with all this kind of stuff in it.
Adam --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
