[GRADLE-1442] possible problem when single artifact is referenced in dependencies with different classifiers Created: 14/Mar/11 Updated: 08/Mar/16 Resolved: 02/Feb/12 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-1 |
Fix Version/s: | 1.0-milestone-8 |
Type: | Bug | ||
Reporter: | Szczepan Faber | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Attachments: | classifierIssue.zip | ||||||||
Issue Links: |
|
Description |
project(':impl') { dependencies { compile 'foo.bar:util:1.0' //note the 'testutil' classifier testCompile 'foo.bar:util:1.0:testutil' } }
Expected result:
I included a sample project that helps demonstrating the issue |
Comments |
Comment by Charlie Groves [ 08/Mar/16 ] |
I'm still seeing this in Gradle 2.11. I have this build.gradle that depends on inject-core and its tests classifier from Twitter: apply plugin: 'java' repositories { mavenCentral() } dependencies { compile 'com.twitter.inject:inject-core_2.11:2.1.4' compile 'com.twitter.inject:inject-core_2.11:2.1.4:tests' } With that setup, it only depends on the non-classified jar. |