Update Gradle build to 1.8-rc-1 and added a configuration option to prevent scanning for test classes which causes problems with the version of ASM used in Gradle which is not compatible with Java 8.