build.gradle 480 B

12345678910111213141516171819
  1. apply plugin: 'elasticsearch.build'
  2. apply plugin: 'elasticsearch.publish'
  3. apply plugin: 'elasticsearch.rest-resources'
  4. apply plugin: 'elasticsearch.validate-rest-spec'
  5. apply plugin: 'elasticsearch.yaml-rest-test'
  6. restResources {
  7. restTests {
  8. includeCore '*'
  9. }
  10. }
  11. artifacts {
  12. restSpecs(new File(projectDir, "src/main/resources/rest-api-spec/api"))
  13. restTests(new File(projectDir, "src/main/resources/rest-api-spec/test"))
  14. }
  15. test.enabled = false
  16. jarHell.enabled = false