2020-09-21 08:25:42 -04:00
|
|
|
evaluationDependsOn(xpackModule('core'))
|
|
|
|
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
|
|
|
|
|
|
|
esplugin {
|
2020-09-23 05:14:41 -04:00
|
|
|
name 'mapper-version'
|
2020-09-21 08:25:42 -04:00
|
|
|
description 'A plugin for a field type to store sofware versions'
|
|
|
|
classname 'org.elasticsearch.xpack.versionfield.VersionFieldPlugin'
|
|
|
|
extendedPlugins = ['x-pack-core', 'lang-painless']
|
|
|
|
}
|
2020-09-23 05:14:41 -04:00
|
|
|
archivesBaseName = 'x-pack-mapper-version'
|
2020-09-21 08:25:42 -04:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
|
|
|
compileOnly project(':modules:lang-painless:spi')
|
|
|
|
testImplementation project(path: xpackModule('core'), configuration: 'testArtifacts')
|
|
|
|
testImplementation project(path: xpackModule('analytics'), configuration: 'default')
|
|
|
|
}
|