jdk 8 related gradle fix