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
Post a Comment