build.gradle 785 B

123456789101112131415161718192021222324
  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.publish'
  9. apply plugin: 'elasticsearch.build'
  10. tasks.named("loggerUsageCheck").configure {enabled = false }
  11. dependencies {
  12. testImplementation(project(":test:framework")) {
  13. exclude group: 'org.elasticsearch', module: 'elasticsearch-logging'
  14. }
  15. }
  16. tasks.named('forbiddenApisMain').configure {
  17. // :libs:elasticsearch-logging does not depend on server
  18. replaceSignatureFiles 'jdk-signatures'
  19. }