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-22 11:12:54 -04:00
|
|
|
compile project(path: ':modules:geo', configuration: 'default')
|
|
|
|
restTestConfig project(path: ':modules:geo', configuration: 'restTests')
|
|
|
|
}
|
|
|
|
|
|
|
|
restResources {
|
|
|
|
restApi {
|
2020-04-27 15:16:10 -04:00
|
|
|
includeCore '_common', 'bulk', 'indices', 'index', 'search'
|
2020-04-22 11:12:54 -04:00
|
|
|
}
|
|
|
|
restTests {
|
|
|
|
includeCore 'geo_shape'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
testClusters.integTest {
|
2020-04-27 15:16:10 -04:00
|
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
2020-05-05 12:54:14 -04:00
|
|
|
setting 'indices.breaker.request.limit', '25kb'
|
2020-04-22 11:12:54 -04:00
|
|
|
testDistribution = 'DEFAULT'
|
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
|
|
|
}
|