From 9c899a11e4fa8821798bd67303c0ebaedf4ec6de Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Fri, 7 Jun 2024 10:15:31 -0700 Subject: [PATCH] Add publish plugin to ES|QL projects (#109441) (#109488) We want to make the JavaDocs for ES|QL publicly available. Add the publishing plugin so we can publish these artifacts. # Conflicts: # x-pack/plugin/esql-core/build.gradle --- x-pack/plugin/esql/build.gradle | 2 ++ x-pack/plugin/esql/compute/ann/build.gradle | 5 +++++ x-pack/plugin/esql/compute/build.gradle | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/x-pack/plugin/esql/build.gradle b/x-pack/plugin/esql/build.gradle index 7705e34cadaa0..69485fcf7ac50 100644 --- a/x-pack/plugin/esql/build.gradle +++ b/x-pack/plugin/esql/build.gradle @@ -3,6 +3,8 @@ import org.elasticsearch.gradle.internal.info.BuildParams apply plugin: 'elasticsearch.internal-es-plugin' apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.string-templates' +apply plugin: 'elasticsearch.publish' + esplugin { name 'x-pack-esql' description 'The plugin that powers ESQL for Elasticsearch' diff --git a/x-pack/plugin/esql/compute/ann/build.gradle b/x-pack/plugin/esql/compute/ann/build.gradle index ee8d8c62dff39..072f1f6628b07 100644 --- a/x-pack/plugin/esql/compute/ann/build.gradle +++ b/x-pack/plugin/esql/compute/ann/build.gradle @@ -1,4 +1,9 @@ apply plugin: 'elasticsearch.build' +apply plugin: 'elasticsearch.publish' + +base { + archivesName = 'x-pack-esql-compute-ann' +} tasks.named('forbiddenApisMain').configure { // doesn't depend on anything diff --git a/x-pack/plugin/esql/compute/build.gradle b/x-pack/plugin/esql/compute/build.gradle index d04daf6631447..c3ddb822cfc46 100644 --- a/x-pack/plugin/esql/compute/build.gradle +++ b/x-pack/plugin/esql/compute/build.gradle @@ -1,5 +1,10 @@ apply plugin: 'elasticsearch.build' apply plugin: 'elasticsearch.string-templates' +apply plugin: 'elasticsearch.publish' + +base { + archivesName = 'x-pack-esql-compute' +} dependencies { compileOnly project(':server')