Announcement Announcement Module
No announcement yet.
Import of Gradle project hangs Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Import of Gradle project hangs


    I am importing a Gradle project into STS (3.1.0.RELEASE) and it has hung (30+ minutes) on the "Resolve dependencies ':testRuntime' step. I have configured STS to use a locally installed version of Gradle (gradle-1.4).

    How can I get some insight into what is happening here?



  • #2
    Resolving dependencies can be quite time consuming because it requires contacting external repositories via your internet connection.

    Even so, 30 minutes seems excessive. Maybe there's a network connectivity issue and something is hung indefinitely.
    Or maybe there's something about your build script that causes excessive NW checking (lots of snapshot style depenencies comes to mind).

    I'm not sure what advice to give you here. Maybe you can try running a gradle build from the commandline and see if that has similar behavior of getting totally 'hung'. I am guessing that probably it will. In that case I'd say the folks on the Gradle Forum (*) are probably the best ones to advise as the problem isn't specific to the tooling. They will be better able to help figure out what inside of your build script or Gradle itself is getting stalled.