Upgrades Gradle and fixes buildscript inclusion.