Skip to content

Commit

Permalink
Add publish plugin to ES|QL projects (#109441) (#109488)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mark-vieira authored Jun 7, 2024
1 parent 5a2cef5 commit 9c899a1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/plugin/esql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 5 additions & 0 deletions x-pack/plugin/esql/compute/ann/build.gradle
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions x-pack/plugin/esql/compute/build.gradle
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit 9c899a1

Please sign in to comment.