[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
|Reporter:||Gradle Forums||Assignee:||René Gröschke (Inactive)|
I have a project that depends on a library in Ivy eg myorg:mylib:1.0 - this library has several artifacts:
Each of these have a sources 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
|Comment by Gradle Forums [ 17/Sep/14 ]|
The project attachment on the original issue 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