gradle updates for dependencies.
code changes for checkstyle complaints.