build.gradle 875 B

12345678910111213141516171819202122232425262728
  1. import org.elasticsearch.gradle.internal.info.BuildParams
  2. /*
  3. * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
  4. * or more contributor license agreements. Licensed under the Elastic License
  5. * 2.0 and the Server Side Public License, v 1; you may not use this file except
  6. * in compliance with, at your election, the Elastic License 2.0 or the Server
  7. * Side Public License, v 1.
  8. */
  9. apply plugin: 'elasticsearch.internal-yaml-rest-test'
  10. apply plugin: 'elasticsearch.yaml-rest-compat-test'
  11. apply plugin: 'elasticsearch.internal-cluster-test'
  12. esplugin {
  13. description 'Adds HEAD and GET / endpoint to Elasticsearch'
  14. classname 'org.elasticsearch.rest.root.MainRestPlugin'
  15. }
  16. restResources {
  17. restApi {
  18. include '_common','info', 'ping'
  19. }
  20. }
  21. artifacts {
  22. restTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
  23. }