Upgrade gradle dependencies

Let's see if this works on Travis.