Revert "Update Gradle to version 1.5"

This reverts commit fb1ea64fd748ddd4e1de86e6aa1205e5ae8c4d83.
Update Gradle to version 1.7