2019-04-07 23:23:12 -04:00
|
|
|
import org.elasticsearch.gradle.test.RestIntegTestTask
|
|
|
|
|
|
|
|
subprojects {
|
2019-11-14 06:01:23 -05:00
|
|
|
project.tasks.withType(RestIntegTestTask) {
|
|
|
|
final File xPackResources = new File(xpackProject('plugin').projectDir, 'src/test/resources')
|
|
|
|
project.copyRestSpec.from(xPackResources) {
|
|
|
|
include 'rest-api-spec/api/**'
|
2019-04-07 23:23:12 -04:00
|
|
|
}
|
2019-11-14 06:01:23 -05:00
|
|
|
}
|
2019-04-07 23:23:12 -04:00
|
|
|
}
|
|
|
|
|