Gradle hangs forever but sudo gradle works -


so i'm using gradle 2.4 on mac osx, , working fine. restarted system , running gradle gradle causes hang forever no output , no error. if sudo gradle works fine. it's hassle type sudo time, there known workaround?

well, sudo gradle command launch gradle sudo rights , 'sub-command'. of now, workaround can think off alias. feel free come better solutions if any.

here how:

open ~/.bash_profile

vim ~/.bash_profile 

add below line

echo 'your_root_password' | sudo -s gradle 

close ~/.bash_profile , execute

source ~/.bash_profile 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -