12345678910111213141516171819202122232425262728 |
- /*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0 and the Server Side Public License, v 1; you may not use this file except
- * in compliance with, at your election, the Elastic License 2.0 or the Server
- * Side Public License, v 1.
- */
- apply plugin: 'elasticsearch.yaml-rest-test'
- esplugin {
- description 'Smart Chinese Analysis plugin integrates Lucene Smart Chinese analysis module into elasticsearch.'
- classname 'org.elasticsearch.plugin.analysis.smartcn.AnalysisSmartChinesePlugin'
- }
- dependencies {
- api "org.apache.lucene:lucene-analyzers-smartcn:${versions.lucene}"
- }
- restResources {
- restApi {
- include '_common', 'indices', 'index', 'search'
- }
- }
- tasks.named("dependencyLicenses").configure {
- mapping from: /lucene-.*/, to: 'lucene'
- }
|