19 lines
453 B
Groovy
19 lines
453 B
Groovy
import org.elasticsearch.gradle.test.RestIntegTestTask
|
|
|
|
apply plugin: 'elasticsearch.build'
|
|
unitTest.enabled = false
|
|
|
|
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/**'
|
|
}
|
|
}
|
|
}
|
|
|