Fixed addon-gradle.gradle to support Gradle 1.10 and up.