0

Im working with gradle (2.8) to build,test our Spring java(1.8) applications

I have installed OSX Sierra last week, but sometime this week, my gradle clean test took 7-10 min to run instead of 15sec!!!

the build was hanging at this line...

Building 55% > :sandbox-core:compileJava > Resolving dependencies ':sandbox-core:compile' > Resolving dependencies 'detachedConfiguration3' > Resolving dependencies 'detachedConfiguration4'

incrementing the Resolving dependencies 'detachedConfigurationXXX' by 1 every now and then!!

once those detachedConfiguration were done, the test were running fine ..

But it took 7-10 min.

This is making me crazy!

Cygnusx1
  • 5,329
  • 2
  • 27
  • 39

1 Answers1

9

Well, thanks to this answer

It does not look related!!! but My problem went away as soon as i added my computer-name.local to /etc/hosts file on my Mac!!

127.0.0.1   localhost yourmacname.local
::1         localhost yourmacname.local

Your Mac name should be indicated when you open a terminal window ;-) or in System informations app (at the bottom)

Community
  • 1
  • 1
Cygnusx1
  • 5,329
  • 2
  • 27
  • 39