Update build files so as to be compatible with Gradle 1.11.
Update to Gradle 1.11.
Changes made purely to keep JavaDoc 8 from complaining.