2018-09-17 09:59:22 -04:00
|
|
|
import org.elasticsearch.gradle.test.RestIntegTestTask
|
|
|
|
|
2018-10-23 17:24:32 -04:00
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
test.enabled = false
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':test:framework')
|
|
|
|
}
|
|
|
|
|
2018-09-17 09:59:22 -04:00
|
|
|
subprojects {
|
|
|
|
project.tasks.withType(RestIntegTestTask) {
|
|
|
|
final File xPackResources = new File(xpackProject('plugin').projectDir, 'src/test/resources')
|
|
|
|
project.copyRestSpec.from(xPackResources) {
|
|
|
|
include 'rest-api-spec/api/**'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|