mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-19 04:45:07 -04:00
30 lines
1,013 B
Groovy
30 lines
1,013 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; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
apply plugin: 'elasticsearch.internal-es-plugin'
|
|
apply plugin: 'elasticsearch.internal-yaml-rest-test'
|
|
|
|
esplugin {
|
|
name = 'constant-keyword'
|
|
description = 'Module for the constant-keyword field type, which is a specialization of keyword for the case when all documents have the same value.'
|
|
classname ='org.elasticsearch.xpack.constantkeyword.ConstantKeywordMapperPlugin'
|
|
extendedPlugins = ['x-pack-core', 'lang-painless']
|
|
}
|
|
base {
|
|
archivesName = 'x-pack-constant-keyword'
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly project(':modules:lang-painless:spi')
|
|
compileOnly project(path: xpackModule('core'))
|
|
}
|
|
|
|
if (buildParams.getSnapshotBuild() == false) {
|
|
tasks.named("test").configure {
|
|
systemProperty 'es.index_mode_feature_flag_registered', 'true'
|
|
}
|
|
}
|