diff --git a/x-pack/plugin/sql/qa/jdbc/build.gradle b/x-pack/plugin/sql/qa/jdbc/build.gradle index 615096ace449b..42bf524dac17e 100644 --- a/x-pack/plugin/sql/qa/jdbc/build.gradle +++ b/x-pack/plugin/sql/qa/jdbc/build.gradle @@ -97,7 +97,7 @@ subprojects { final String bwcVersionString = bwcVersion.toString() tasks.register(bwcTaskName(bwcVersion), StandaloneRestIntegTestTask) { - useCluster cluster.get() + useCluster cluster classpath = sourceSets.javaRestTest.runtimeClasspath + driverConfiguration testClassesDirs = sourceSets.javaRestTest.output.classesDirs systemProperty 'jdbc.driver.version', bwcVersionString