Installing Gradle with Eclipse 3.8 & Tomcat 7
Created at: 2014-08-14 00:41:00 UTC
Updated on: 2014-09-25 01:45:25 UTC
Today I was trying to setup a fresh Ubuntu VM with a new installation of Eclipse & Gradle for some Spring development and I ran into a hardstop. After installing Eclipse (using the official packages from the Ubuntu Software Center) I tried to install Gradle and was met with a nasty conflict on libtomcat6-java (resolving which would meant uninstalling Eclipse & a few other packages that rely on tomcat-7).
Tracing the bug back, it was originally a problem with a Gradle dependency. The Gradle team took care of it pretty fast, however another Gradle dependency, Jetty, still has a tomcat-6 dependency with the latest build in the official repos. Messy, messy, messy.
Fortunately, Jetty has migrated to tomcat-7 in the latest build you can grab here. If you're in a hurry and don't want to build from source, just grab libjetty-java_6.1.26-3_all.deb and libjetty-extra-java_6.1.26-3_all.deb under built files & install with Ubuntu Software Center. From there it should just be a $sudo apt-get install gradle to get yourself up and running.