Update to Gradle 1.10.
More fixes from code review.