12345678910111213141516171819202122232425262728293031323334 |
- apply plugin: 'elasticsearch.internal-es-plugin'
- apply plugin: 'elasticsearch.internal-java-rest-test'
- esplugin {
- name 'x-pack-stack'
- description 'Elasticsearch Expanded Pack Plugin - Stack'
- classname 'org.elasticsearch.xpack.stack.StackPlugin'
- extendedPlugins = ['x-pack-core']
- hasNativeController false
- requiresKeystore true
- }
- base {
- archivesName = 'x-pack-stack'
- }
- dependencies {
- compileOnly project(path: xpackModule('core'))
- testImplementation project(':modules:data-streams')
- javaRestTestImplementation(testArtifact(project(xpackModule('core'))))
- javaRestTestImplementation project(path: ':x-pack:plugin:stack')
- clusterModules project(':modules:mapper-extras')
- clusterModules project(xpackModule('wildcard'))
- }
- // These tests are only invoked direclty as part of a dedicated build job
- tasks.named('javaRestTest').configure {task ->
- onlyIf("E2E test task must be invoked directly") {
- gradle.startParameter.getTaskNames().contains(task.path) ||
- (gradle.startParameter.getTaskNames().contains(task.name) && gradle.startParameter.currentDir == project.projectDir)
- }
- }
- addQaCheckDependencies(project)
|