elasticsearch/plugins/examples/stable-analysis/build.gradle
Rene Groeschke ba61f8c7f7
Update Gradle wrapper to 8.12 (#118683)
This updates the gradle wrapper to 8.12

We addressed deprecation warnings due to the update that includes:

- Fix change in TestOutputEvent api
- Fix deprecation in groovy syntax
- Use latest ospackage plugin containing our fix
- Remove project usages at execution time
- Fix deprecated project references in repository-old-versions
2024-12-30 15:34:24 +01:00

29 lines
1.1 KiB
Groovy

apply plugin: 'elasticsearch.stable-esplugin'
apply plugin: 'elasticsearch.yaml-rest-test'
esplugin {
name = 'stable-analysis-plugin'
description = 'An example analysis plugin using stable plugin api'
}
//TODO write module-info
dependencies {
//TODO transitive dependency off and plugin-api dependency?
compileOnly "org.elasticsearch.plugin:elasticsearch-plugin-api:${pluginApiVersion}"
compileOnly "org.elasticsearch.plugin:elasticsearch-plugin-analysis-api:${pluginApiVersion}"
compileOnly "org.apache.lucene:lucene-analysis-common:${luceneVersion}"
//TODO for testing this also have to be declared
testImplementation "org.elasticsearch.plugin:elasticsearch-plugin-api:${pluginApiVersion}"
testImplementation "org.elasticsearch.plugin:elasticsearch-plugin-analysis-api:${pluginApiVersion}"
testImplementation "org.apache.lucene:lucene-analysis-common:${luceneVersion}"
testImplementation ('junit:junit:4.13.2'){
exclude group: 'org.hamcrest'
}
testImplementation 'org.mockito:mockito-core:4.4.0'
testImplementation 'org.hamcrest:hamcrest:2.2'
}