scanForTestClasses = false in gradle to enable jenkins build with Java 8