Test: get the rest-api-spec from the correct location

Original commit: elastic/x-pack-elasticsearch@a3f3c45213
This commit is contained in:
jaymode 2018-01-24 10:39:43 -07:00
parent 8059099697
commit 2c46002c00
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ subprojects {
// copy x-pack plugin info so it is on the classpath and security manager has the right permissions
task copyXPackRestSpec(type: Copy) {
dependsOn(project.configurations.restSpec, 'processTestResources')
from project(':x-pack-elasticsearch:plugin:core').sourceSets.test.resources
from project(':x-pack-elasticsearch:plugin').sourceSets.test.resources
include 'rest-api-spec/api/**'
into project.sourceSets.test.output.resourcesDir
}