2018-10-31 14:49:29 -04:00
|
|
|
import org.elasticsearch.gradle.test.RestIntegTestTask
|
|
|
|
|
|
|
|
apply plugin: 'elasticsearch.build'
|
2018-12-19 01:25:20 -05:00
|
|
|
unitTest.enabled = false
|
2018-10-31 14:49:29 -04:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':test:framework')
|
|
|
|
}
|
|
|
|
|
|
|
|
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/**'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|