build.gradle 835 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
  3. * or more contributor license agreements. Licensed under the Elastic License
  4. * 2.0 and the Server Side Public License, v 1; you may not use this file except
  5. * in compliance with, at your election, the Elastic License 2.0 or the Server
  6. * Side Public License, v 1.
  7. */
  8. apply plugin: 'elasticsearch.build'
  9. apply plugin: 'nebula.optional-base'
  10. apply plugin: 'elasticsearch.publish'
  11. dependencies {
  12. api 'net.sf.jopt-simple:jopt-simple:5.0.2'
  13. api project(':libs:elasticsearch-core')
  14. }
  15. tasks.named("test").configure { enabled = false }
  16. // Since CLI does not depend on :server, it cannot run the jarHell task
  17. tasks.named("jarHell").configure { enabled = false }
  18. tasks.named('forbiddenApisMain').configure {
  19. replaceSignatureFiles 'jdk-signatures'
  20. }