Bump gradle wrapper to 1.10
Re-work logger to support both 1.8 and 1.10 gradle API changes.