void (@NotNull JavaVersion javaRuntimeVersion) { int javaVer = javaRuntimeVersion.feature; GradleVersion gradleBaseVersion = getCurrentGradleBaseVersion(); Assume.assumeFalse("Skip integration tests running on JDK " + javaVer + "(>9) for " + gradleBaseVersion + "(<3.0)", javaVer > 9 && gradleBaseVersion.compareTo(GradleVersion.version("3.0")) < 0); }