Test: get the rest-api-spec from the correct location
Original commit: elastic/x-pack-elasticsearch@a3f3c45213
This commit is contained in:
parent
8059099697
commit
2c46002c00
|
@ -276,7 +276,7 @@ subprojects {
|
||||||
// copy x-pack plugin info so it is on the classpath and security manager has the right permissions
|
// copy x-pack plugin info so it is on the classpath and security manager has the right permissions
|
||||||
task copyXPackRestSpec(type: Copy) {
|
task copyXPackRestSpec(type: Copy) {
|
||||||
dependsOn(project.configurations.restSpec, 'processTestResources')
|
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/**'
|
include 'rest-api-spec/api/**'
|
||||||
into project.sourceSets.test.output.resourcesDir
|
into project.sourceSets.test.output.resourcesDir
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue