Sep 22, 2014

Ubuntu Gradle Update

Came across this issue when updating gradle on my Ubuntu VM. I'd run `apt-get upgrade gradle` which indicated it would upgrade to 2.1. However, a quick `gradle -v` indicated it was still on the 1.x version.

The fix for me was to remove the old file: /usr/bin/gradle and then link up the latest one:

sudo rm /usr/bin/gradle
sudo ln -s /usr/lib/gradle/2.1/bin/gradle  /usr/bin/gradle 


As always, hope this saves someone some time.

No comments:

Post a Comment