2020-01-27 15:03:58 -05:00
|
|
|
evaluationDependsOn(xpackModule('core'))
|
|
|
|
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
|
|
esplugin {
|
|
|
|
name 'x-pack-ql'
|
|
|
|
description 'Elasticsearch infrastructure plugin for EQL and SQL for Elasticsearch'
|
|
|
|
classname 'org.elasticsearch.xpack.ql.plugin.QlPlugin'
|
|
|
|
extendedPlugins = ['x-pack-core']
|
|
|
|
}
|
|
|
|
|
|
|
|
archivesBaseName = 'x-pack-ql'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
2020-06-14 16:30:44 -04:00
|
|
|
testImplementation project(':test:framework')
|
|
|
|
testImplementation project(path: xpackModule('core'), configuration: 'testArtifacts')
|
2020-01-27 15:03:58 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
testArtifacts.extendsFrom testRuntime
|
2020-06-14 16:30:44 -04:00
|
|
|
testArtifacts.extendsFrom testImplementation
|
2020-01-27 15:03:58 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
task testJar(type: Jar) {
|
|
|
|
appendix 'test'
|
|
|
|
from sourceSets.test.output
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
// normal es plugins do not publish the jar but we need to since users need it for extensions
|
|
|
|
archives jar
|
|
|
|
testArtifacts testJar
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// disable integration tests for now
|
|
|
|
integTest.enabled = false
|