Browse Source

Build: move generated-resources to build (#30366)

This commit moves the generated-resources directory to be within
the build directory for the openldap-tests and saml-idp-tests
projects. Both projects create a generated-resources directory that
should have been in the build directory but were instead at the same
level as the build directory.
Jay Modi 7 years ago
parent
commit
37bb8f8075
2 changed files with 2 additions and 2 deletions
  1. 1 1
      x-pack/qa/openldap-tests/build.gradle
  2. 1 1
      x-pack/qa/saml-idp-tests/build.gradle

+ 1 - 1
x-pack/qa/openldap-tests/build.gradle

@@ -14,7 +14,7 @@ task openLdapFixture {
     dependsOn "vagrantCheckVersion", "virtualboxCheckVersion", idpFixtureProject.up
 }
 
-String outputDir = "generated-resources/${project.name}"
+String outputDir = "${project.buildDir}/generated-resources/${project.name}"
 task copyIdpTrust(type: Copy) {
     from idpFixtureProject.file('src/main/resources/certs/idptrust.jks');
     into outputDir

+ 1 - 1
x-pack/qa/saml-idp-tests/build.gradle

@@ -16,7 +16,7 @@ task idpFixture {
     dependsOn "vagrantCheckVersion", "virtualboxCheckVersion", idpFixtureProject.up
 }
 
-String outputDir = "generated-resources/${project.name}"
+String outputDir = "${project.buildDir}/generated-resources/${project.name}"
 task copyIdpCertificate(type: Copy) {
     from idpFixtureProject.file('src/main/resources/certs/ca.crt');
     into outputDir