title: How do I refresh project dependencies using Buildship in Eclipse?
body: <p>Eclipse Mars was recently released and I felt like trying it out. It listed tighter integration with Gradle as one of its features via <a href="https://projects.eclipse.org/projects/tools.buildship/downloads">Buildship</a>.</p>
  
  <p>With Luna I was using <a href="http://marketplace.eclipse.org/content/gradle-integration-eclipse-44#.VB_gPGOMl40">Gradle Integration for Eclipse (4.4)</a> and I found this a lot easier to work with for what I was trying to do; I could add a Gradle "nature" to an existing project without needing to remove the project and re-import it as I did with Buildship, and it automatically put all dependencies that I declared in <code>build.gradle</code> within the project's classpath.</p>
  
  <p>With Buildship, I didn't see any option to configure an existing project as a Gradle project and I couldn't find a way to make it include the dependencies I specified in the build script within the project's classpath.</p>
  
  <p>I tried installing the original plugin (GIfE 4.4) for Eclipse Mars and after restarting Eclipse it automatically did all that for me again. What I'm wondering is if there's a way to do this all through Buildship alone because right now, although it all works, it's quite a funny setup. My project's dropdown menu looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/jF19p.png" alt=""></p>
  
  <p>Apart from looking a bit odd it is actually quite a nice setup, since it combines the automatic dependency management of GIfE with the ability to run Gradle tasks directly from Eclipse that Buildship provides.</p>