mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Modularize the lang-expression component (#87790)
This commit is contained in:
parent
6fca901316
commit
aa170f1da5
3 changed files with 17 additions and 0 deletions
|
@ -16,6 +16,7 @@ esplugin {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api "org.apache.lucene:lucene-expressions:${versions.lucene}"
|
api "org.apache.lucene:lucene-expressions:${versions.lucene}"
|
||||||
|
runtimeOnly "org.apache.lucene:lucene-codecs:${versions.lucene}"
|
||||||
runtimeOnly 'org.antlr:antlr4-runtime:4.5.1-1'
|
runtimeOnly 'org.antlr:antlr4-runtime:4.5.1-1'
|
||||||
runtimeOnly 'org.ow2.asm:asm:7.2'
|
runtimeOnly 'org.ow2.asm:asm:7.2'
|
||||||
runtimeOnly 'org.ow2.asm:asm-commons:7.2'
|
runtimeOnly 'org.ow2.asm:asm-commons:7.2'
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
6a1b5573015bfbfd94d7324012a3177217af7705
|
15
modules/lang-expression/src/main/java/module-info.java
Normal file
15
modules/lang-expression/src/main/java/module-info.java
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
module org.elasticsearch.script.expression {
|
||||||
|
requires org.elasticsearch.base;
|
||||||
|
requires org.elasticsearch.server;
|
||||||
|
requires org.apache.lucene.core;
|
||||||
|
requires org.apache.lucene.expressions;
|
||||||
|
requires org.apache.lucene.queries;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue