compile: Download gradle

Also add openjdk-7-jdk to bin/prepare.