SEC-2341: Update to Gradle 1.8

Some dependencies were necessary to update due to issues with JUnit
integration.