Run Gradle tests using Gradle 2.2.1

Closes #120
Merge branch '1.0.x' into 1.1.x