I've just filed https://issuetracker.springsource.com/browse/STS-1858 to take the discussion further there as you suggested. Opening a jira for gradle tooling api is up to you (if suitable).
Cheers Davide kdvolder wrote: > > Hi Davide, > > Took a quick look at the page you are pointing to. It seems like a nice > feature to have. I agree that the user experience editing across > projects will be much better if Eclipse understands project > dependencies rather than have '.jar' dependency. > > As I was trying to explain however, it is currently not possible to > implement this. The knowledge to know that some jar was produced by > another project in the workspace (and could be replaced with > a project dependency is not available to STS/Eclipse, because > the tooling API doesn't expose enough information about projects > / dependencies. > > IvyDE can do this because they have full access to all this info > from Ivy. > > So to implement this for Gradle, we'd need an extension of the > Tooling API. So, I can't do this alone. > > I'll put some more thought into it and raise a Gradle Jira request > for the API extension. > > Without the info coming from Gradle, I could implement something > that lets the user manually remap some specific jars to project > dependencies. (Essentially, provide a UI so that the user can > provide the requisite knowledge, lacking a way to extract it > from Gradle itself). > > It may be something to consider, since it would > be flexible in letting users customize this remapping, but > if you have many project's, I can't imagine it being fun > to have to manually declare all these remappings (especially, > if you know that the knowledge is already essentially > encoded in the gradle build files). > > If you, or other people on this list, think that the 'manual > remapping' would be worth the effort. Go ahead and raise an > STS Jira for it. > > We can then take the discussion further on the respective > Jiras and off of this mailing list. > > Kris > > -- View this message in context: http://gradle.1045684.n5.nabble.com/Is-it-possible-to-elect-a-local-gradle-project-to-satisfy-other-projects-deps-tp4497854p4509561.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
