elasticsearch/plugins/analysis-stempel/build.gradle

29 lines
933 B
Groovy

/*
* 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'
apply plugin: 'elasticsearch.yaml-rest-compat-test'
esplugin {
description 'The Stempel (Polish) Analysis plugin integrates Lucene stempel (polish) analysis module into elasticsearch.'
classname 'org.elasticsearch.plugin.analysis.stempel.AnalysisStempelPlugin'
}
dependencies {
api "org.apache.lucene:lucene-analyzers-stempel:${versions.lucene}"
}
restResources {
restApi {
include '_common', 'indices', 'index', 'search'
}
}
tasks.named("dependencyLicenses").configure {
mapping from: /lucene-.*/, to: 'lucene'
}