build.gradle 857 B

123456789101112131415161718192021222324252627
  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.yaml-rest-test'
  9. esplugin {
  10. description 'The Korean (nori) Analysis plugin integrates Lucene nori analysis module into elasticsearch.'
  11. classname 'org.elasticsearch.plugin.analysis.nori.AnalysisNoriPlugin'
  12. }
  13. dependencies {
  14. api "org.apache.lucene:lucene-analyzers-nori:${versions.lucene}"
  15. }
  16. restResources {
  17. restApi {
  18. include '_common', 'indices', 'index', 'search'
  19. }
  20. }
  21. tasks.named("dependencyLicenses").configure {
  22. mapping from: /lucene-.*/, to: 'lucene'
  23. }