elasticsearch/rest-api-spec/build.gradle

27 lines
754 B
Groovy

apply plugin: 'elasticsearch.build'
apply plugin: 'elasticsearch.publish'
apply plugin: 'elasticsearch.rest-resources'
apply plugin: 'elasticsearch.validate-rest-spec'
apply plugin: 'elasticsearch.yaml-rest-test'
restResources {
restTests {
includeCore '*'
}
}
artifacts {
restSpecs(new File(projectDir, "src/main/resources/rest-api-spec/api"))
restTests(new File(projectDir, "src/main/resources/rest-api-spec/test"))
}
testClusters.all {
module ':modules:mapper-extras'
}
tasks.named("test").configure {enabled = false }
tasks.named("jarHell").configure {enabled = false }
ext.projectLicenses = ['Apache License 2.0': 'http://www.apache.org/licenses/LICENSE-2.0']
ext.licenseFile = rootProject.file('licenses/APACHE-LICENSE-2.0.txt')