On 11/01/2011, at 7:53 PM, Jeppe Nejsum Madsen wrote:

> Adam Murdoch <[email protected]> writes:
> 
>> Hi,
>> 
>> At the moment the 'eclipse' and 'idea' plugins attempt to merge the 
>> project's dependencies (as defined in the build script) with the existing 
>> IDE classpath defined in the .classpath/.iml file.
>> 
>> However, the implementation doesn't really work, so that you end up with old 
>> dependencies in the IDE classpath as your project dependencies change over 
>> time.
>> 
>> While it is possible to fix this, it doesn't, to me, seem worth the effort. 
>> Instead, I'd like to remove the merging. After this change, the 'ideaModule' 
>> or 'eclipseClasspath' tasks will ignore the existing classpath and replace 
>> it with the dependencies defined in the build script. The result will be a 
>> much more accurate IDE classpath, at the cost of losing any manual 
>> configuration you might have made to that classpath.
> 
> I think this is fine. Deps should be in gradle only. And I guess you
> still have hooks to customize the output if you really need it?

Exactly right


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to