OpenSearch/x-pack/plugin/mapper-flattened/build.gradle

28 lines
950 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;
* you may not use this file except in compliance with the Elastic License.
*/
evaluationDependsOn(xpackModule('core'))
apply plugin: 'elasticsearch.esplugin'
esplugin {
name 'flattened'
description 'Module for the flattened field type, which allows JSON objects to be flattened into a single field.'
classname 'org.elasticsearch.xpack.flattened.FlattenedMapperPlugin'
extendedPlugins = ['x-pack-core']
}
archivesBaseName = 'x-pack-flattened'
dependencies {
compileOnly project(path: xpackModule('core'), configuration: 'default')
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
if (isEclipse) {
testCompile project(path: xpackModule('core-tests'), configuration: 'testArtifacts')
}
}
integTest.enabled = false