[GRADLE-3170] Gradle 'idea' task generates wrong sources jar for multi artifact dependencies Created: 17/Sep/14 Updated: 10/Dec/14 Resolved: 10/Dec/14 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 2.3-rc-1 |
Type: | Bug | ||
Reporter: | Gradle Forums | Assignee: | René Gröschke (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Issue Links: |
|
Description |
I have a project that depends on a library in Ivy eg myorg:mylib:1.0 - this library has several artifacts: mylib-1.0.jar Each of these have a sources jar: mylib-sources-1.0.jar But when I generate Intellij project using gradle idea task I get the same source attachment for all these jars. The same problem affects Intellij IDEA Gradle integration, since it uses the same dependency resolution mechanism thru tooling api |
Comments |
Comment by Gradle Forums [ 17/Sep/14 ] |
The project attachment on the original issue [1]http://youtrack.jetbrains.com/issue/I... demonstrates the problem. |
Comment by Daz DeBoer [ 10/Dec/14 ] |
This issue has been fixed by attaching all source artifact to each jar artifact in IDEA. This doesn't fix the issue when importing into IDEA, since this requires a fix to the Tooling API. I've raised |