Prepare build script for 1.8

Updated the Gradle build script to use 1.8 and changed version number
appropriately.