diff --git a/build.gradle b/build.gradle index cc9e98be129..4c87c23ad65 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,6 @@ import org.elasticsearch.gradle.BuildPlugin import org.elasticsearch.gradle.Version import org.elasticsearch.gradle.VersionProperties import org.elasticsearch.gradle.precommit.LicenseHeadersTask -import sun.reflect.generics.reflectiveObjects.NotImplementedException if (project.projectDir.name != 'x-pack-elasticsearch') { throw new GradleException('You must checkout x-pack-elasticsearch in the following directory: /../elasticsearch-extra/x-pack-elasticsearch') diff --git a/qa/full-cluster-restart/build.gradle b/qa/full-cluster-restart/build.gradle index 9648a7b2590..4235a926d12 100644 --- a/qa/full-cluster-restart/build.gradle +++ b/qa/full-cluster-restart/build.gradle @@ -227,10 +227,8 @@ subprojects { // basic integ tests includes testing bwc against the most recent version task integTest { if (project.bwc_tests_enabled) { - if (project.bwc_tests_enabled) { - for (final def version : versionCollection.basicIntegrationTestVersions) { - dependsOn "v${version}#bwcTest" - } + for (final def version : versionCollection.basicIntegrationTestVersions) { + dependsOn "v${version}#bwcTest" } } } diff --git a/qa/rolling-upgrade/build.gradle b/qa/rolling-upgrade/build.gradle index ebac7e6e877..3c3ead28a0c 100644 --- a/qa/rolling-upgrade/build.gradle +++ b/qa/rolling-upgrade/build.gradle @@ -256,10 +256,8 @@ subprojects { // basic integ tests includes testing bwc against the most recent version task integTest { if (project.bwc_tests_enabled) { - if (project.bwc_tests_enabled) { - for (final def version : versionCollection.basicIntegrationTestVersions) { - dependsOn "v${version}#bwcTest" - } + for (final def version : versionCollection.basicIntegrationTestVersions) { + dependsOn "v${version}#bwcTest" } } }