build.gradle 982 B

12345678910111213141516171819202122
  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", the "GNU Affero General Public License v3.0 only", and the "Server Side
  5. * Public License v 1"; you may not use this file except in compliance with, at
  6. * your election, the "Elastic License 2.0", the "GNU Affero General Public
  7. * License v3.0 only", or the "Server Side Public License, v 1".
  8. */
  9. apply plugin: 'elasticsearch.esplugin'
  10. apply plugin: 'elasticsearch.yaml-rest-test'
  11. esplugin {
  12. name = 'custom-processor'
  13. description = 'An example plugin showing how to register a custom ingest processor'
  14. classname ='org.elasticsearch.example.customprocessor.ExampleProcessorPlugin'
  15. licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
  16. noticeFile = rootProject.file('NOTICE.txt')
  17. }
  18. dependencies {
  19. yamlRestTestRuntimeOnly "org.apache.logging.log4j:log4j-core:${log4jVersion}"
  20. }