Skip to content

Commit 4c7ac2a

Browse files
committed
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.
1 parent d924ac7 commit 4c7ac2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ task openLdapFixture {
1414
dependsOn "vagrantCheckVersion", "virtualboxCheckVersion", idpFixtureProject.up
1515
}
1616

17-
String outputDir = "generated-resources/${project.name}"
17+
String outputDir = "${project.buildDir}/generated-resources/${project.name}"
1818
task copyIdpTrust(type: Copy) {
1919
from idpFixtureProject.file('src/main/resources/certs/idptrust.jks');
2020
into outputDir

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ task idpFixture {
1616
dependsOn "vagrantCheckVersion", "virtualboxCheckVersion", idpFixtureProject.up
1717
}
1818

19-
String outputDir = "generated-resources/${project.name}"
19+
String outputDir = "${project.buildDir}/generated-resources/${project.name}"
2020
task copyIdpCertificate(type: Copy) {
2121
from idpFixtureProject.file('src/main/resources/certs/ca.crt');
2222
into outputDir

0 commit comments

Comments
 (0)