[GRADLE-1122] duplicate dependencies in build.gradle result in no dependecy in .classpath Created: 17/Aug/10 Updated: 04/Jan/13 Resolved: 14/Nov/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.9 |
Fix Version/s: | 1.0-milestone-6 |
Type: | Bug | ||
Reporter: | Philip Crotwell | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Description |
Running gradle eclipse on this build.gradle results in a .classpath without antlr as a dependency. Comment out one of the two antlr deps and it works correctly. Obviously, this is a dumb dependency list, but either the .classpath should have just the latest version, both versions, or gradle should signal an error. apply plugin: 'java' group = 'edu.sc.seis' dependencies { compile "antlr:antlr:2.7.1" compile "antlr:antlr:2.7.2" }repositories { mavenCentral() }.......with duplicated dependency: .......with single dependency: ------------------------------------------------------------ Gradle buildtime: Wednesday, 4 August 2010 8:04:33 AM EST |
Comments |
Comment by Hans Dockter [ 17/Aug/10 ] |
Sorry for all the issues with the new Eclipse plugin. The problem is that for some reasons we need to duplicate logic of our dependency DSL. And the duplication is just not complete. We will enhance the dependency DSL soon, so that the Eclipse plugin can simply use it. |