Update Gradle plugin and build files