diff --git a/x-pack/qa/full-cluster-restart/build.gradle b/x-pack/qa/full-cluster-restart/build.gradle index 020b98dfd5721..6750cf0a7dcc0 100644 --- a/x-pack/qa/full-cluster-restart/build.gradle +++ b/x-pack/qa/full-cluster-restart/build.gradle @@ -114,7 +114,7 @@ subprojects { approvedLicenses << 'Apache' } - String outputDir = "generated-resources/${project.name}" + String outputDir = "${buildDir}/generated-resources/${project.name}" // This is a top level task which we will add dependencies to below. // It is a single task that can be used to backcompat tests against all versions. @@ -123,7 +123,7 @@ subprojects { group = 'verification' } - String output = "generated-resources/${project.name}" + String output = "${buildDir}/generated-resources/${project.name}" task copyTestNodeKeystore(type: Copy) { from project(xpackModule('core')) .file('src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks') diff --git a/x-pack/qa/rolling-upgrade/build.gradle b/x-pack/qa/rolling-upgrade/build.gradle index a8a7cfe16b028..0cd4ae6d2e20f 100644 --- a/x-pack/qa/rolling-upgrade/build.gradle +++ b/x-pack/qa/rolling-upgrade/build.gradle @@ -92,7 +92,7 @@ subprojects { } } - String outputDir = "generated-resources/${project.name}" + String outputDir = "${buildDir}/generated-resources/${project.name}" // This is a top level task which we will add dependencies to below. // It is a single task that can be used to backcompat tests against all versions. @@ -101,7 +101,7 @@ subprojects { group = 'verification' } - String output = "generated-resources/${project.name}" + String output = "${buildDir}/generated-resources/${project.name}" task copyTestNodeKeystore(type: Copy) { from project(xpackModule('core')) .file('src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks') diff --git a/x-pack/qa/security-client-tests/build.gradle b/x-pack/qa/security-client-tests/build.gradle index 53d4ed464b5af..4e517f4d3633e 100644 --- a/x-pack/qa/security-client-tests/build.gradle +++ b/x-pack/qa/security-client-tests/build.gradle @@ -6,7 +6,7 @@ dependencies { testCompile project(path: xpackProject('transport-client').path, configuration: 'runtime') } -String outputDir = "generated-resources/${project.name}" +String outputDir = "${buildDir}/generated-resources/${project.name}" task copyXPackPluginProps(type: Copy) { from project(xpackModule('core')).file('src/main/plugin-metadata') from project(xpackModule('core')).tasks.pluginProperties diff --git a/x-pack/qa/smoke-test-plugins-ssl/build.gradle b/x-pack/qa/smoke-test-plugins-ssl/build.gradle index 09866421f21a9..bc7aa9fd39328 100644 --- a/x-pack/qa/smoke-test-plugins-ssl/build.gradle +++ b/x-pack/qa/smoke-test-plugins-ssl/build.gradle @@ -17,7 +17,7 @@ dependencies { testCompile project(path: xpackModule('core'), configuration: 'runtime') } -String outputDir = "generated-resources/${project.name}" +String outputDir = "${buildDir}/generated-resources/${project.name}" task copyXPackPluginProps(type: Copy) { from project(xpackModule('core')).file('src/main/plugin-metadata') from project(xpackModule('core')).tasks.pluginProperties