<BUG>if (!JavaVersion.current().isJava6Compatible()) {throw UnsupportedJavaRuntimeException.usingUnsupportedVersion("Gradle", JavaVersion.VERSION_1_6);}</BUG><CONTEXT>message.append("You should upgrade your tooling API client to version 2.0 or later.");return new UnsupportedVersionException(message.toString());}private ProviderOperationParameters validateAndConvert(BuildParameters buildParameters) {LOGGER.info("Tooling API is using target Gradle version: {}.", GradleVersion.current().getVersion());<extra_id_0>if (!supportedConsumerVersion) {</CONTEXT>
UnsupportedJavaRuntimeException.assertUsingVersion("Gradle", JavaVersion.VERSION_1_6);