34 lines
956 B
Groovy
34 lines
956 B
Groovy
apply plugin: 'elasticsearch.internal-es-plugin'
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
|
apply plugin: 'elasticsearch.internal-yaml-rest-test'
|
|
apply plugin: 'elasticsearch.yaml-rest-compat-test'
|
|
|
|
esplugin {
|
|
name 'spatial'
|
|
description 'A plugin for Basic Spatial features'
|
|
classname 'org.elasticsearch.xpack.spatial.SpatialPlugin'
|
|
extendedPlugins = ['x-pack-core']
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly project(path: xpackModule('core'))
|
|
testImplementation(testArtifact(project(xpackModule('core'))))
|
|
testImplementation project(path: xpackModule('vector-tile'))
|
|
yamlRestTestImplementation(testArtifact(project(xpackModule('core'))))
|
|
}
|
|
|
|
restResources {
|
|
restApi {
|
|
include '_common', 'bulk', 'indices', 'index', 'search', 'xpack'
|
|
}
|
|
restTests {
|
|
includeCore 'geo_shape'
|
|
}
|
|
}
|
|
|
|
testClusters.all {
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
|
testDistribution = 'DEFAULT'
|
|
setting 'xpack.security.enabled', 'false'
|
|
}
|