2019-08-14 17:35:10 -04:00
|
|
|
evaluationDependsOn(xpackModule('core'))
|
|
|
|
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
|
|
|
|
|
|
esplugin {
|
2019-11-14 06:01:23 -05:00
|
|
|
name 'spatial'
|
|
|
|
description 'A plugin for Basic Spatial features'
|
|
|
|
classname 'org.elasticsearch.xpack.spatial.SpatialPlugin'
|
|
|
|
extendedPlugins = ['x-pack-core']
|
2019-08-14 17:35:10 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-14 06:01:23 -05:00
|
|
|
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
|
|
|
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
2020-04-07 19:30:58 -04:00
|
|
|
testCompile project(path: ':modules:geo', configuration: 'runtime')
|
2019-08-14 17:35:10 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
licenseHeaders {
|
2019-11-14 06:01:23 -05:00
|
|
|
// This class was sourced from apache lucene's sandbox module tests
|
|
|
|
excludes << 'org/apache/lucene/geo/XShapeTestUtil.java'
|
2019-08-14 17:35:10 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// xpack modules are installed in real clusters as the meta plugin, so
|
|
|
|
// installing them as individual plugins for integ tests doesn't make sense,
|
|
|
|
// so we disable integ tests
|
|
|
|
integTest.enabled = false
|