As you may know, Gradle is a tool that can automate the building, testing, publishing, deployment for generating static websites, documentation and others.
The latest version available is Gradle 2.6, coming with a huge list of changes. For information about this release, see the release notes.
Up to date Gradle packages are available via some third party PPA, so installing the software on Ubuntu systems is easy. All you have to do is add the PPA to your system, update the local repository index and install the gradle package:
$ sudo add-apt-repository ppa:cwchien/gradle
$ sudo apt-get update
$ sudo apt-get install gradle
Optional, to remove gradle, do:
$ sudo apt-get remove gradle
The installation instructions should work on all the Ubuntu systems and derivatives: Ubuntu 15.10 Wily Werewolf, Ubuntu 15.04 Vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17.2 Rafaela, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Linux Mint 13 Maya, Pinguy OS 14.04, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Deepin 2014, Peppermint 6, Peppermint 5, LXLE 14.04 and Linux Lite 2.