Update Gradle wrapper to 8.12 (#118683)

This updates the gradle wrapper to 8.12

We addressed deprecation warnings due to the update that includes:

- Fix change in TestOutputEvent api
- Fix deprecation in groovy syntax
- Use latest ospackage plugin containing our fix
- Remove project usages at execution time
- Fix deprecated project references in repository-old-versions
This commit is contained in:
Rene Groeschke 2024-12-30 15:34:24 +01:00 committed by GitHub
parent d7fa7405d4
commit ba61f8c7f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
162 changed files with 4434 additions and 474 deletions

View file

@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionSha256Sum=89d4e70e4e84e2d2dfbb63e4daa53e21b25017cc70c37e4eea31ee51fb15098a distributionSha256Sum=7ebdac923867a3cec0098302416d1e3c6c0c729fc4e2e05c10637a8af33a76c5
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

View file

@ -285,7 +285,7 @@ class PublishPluginFuncTest extends AbstractGradleFuncTest {
esplugin { esplugin {
name = 'hello-world-plugin' name = 'hello-world-plugin'
classname 'org.acme.HelloWorldPlugin' classname = 'org.acme.HelloWorldPlugin'
description = "shadowed es plugin" description = "shadowed es plugin"
} }
@ -375,7 +375,7 @@ class PublishPluginFuncTest extends AbstractGradleFuncTest {
esplugin { esplugin {
name = 'hello-world-plugin' name = 'hello-world-plugin'
classname 'org.acme.HelloWorldPlugin' classname = 'org.acme.HelloWorldPlugin'
description = "custom project description" description = "custom project description"
} }

View file

@ -131,11 +131,13 @@ public class InternalDistributionBwcSetupPlugin implements Plugin<Project> {
// We don't use a normal `Copy` task here as snapshotting the entire gradle user home is very expensive. This task is cheap, so // We don't use a normal `Copy` task here as snapshotting the entire gradle user home is very expensive. This task is cheap, so
// up-to-date checking doesn't buy us much // up-to-date checking doesn't buy us much
project.getTasks().register("setupGradleUserHome", task -> { project.getTasks().register("setupGradleUserHome", task -> {
File gradleUserHome = project.getGradle().getGradleUserHomeDir();
String projectName = project.getName();
task.doLast(t -> { task.doLast(t -> {
fileSystemOperations.copy(copy -> { fileSystemOperations.copy(copy -> {
String gradleUserHome = project.getGradle().getGradleUserHomeDir().getAbsolutePath(); String absoluteGradleUserHomePath = gradleUserHome.getAbsolutePath();
copy.into(gradleUserHome + "-" + project.getName()); copy.into(absoluteGradleUserHomePath + "-" + projectName);
copy.from(gradleUserHome, copySpec -> { copy.from(absoluteGradleUserHomePath, copySpec -> {
copySpec.include("gradle.properties"); copySpec.include("gradle.properties");
copySpec.include("init.d/*"); copySpec.include("init.d/*");
}); });

View file

@ -172,6 +172,11 @@ public class ErrorReportingTestListener implements TestOutputListener, TestListe
return Destination.StdErr; return Destination.StdErr;
} }
@Override
public long getLogTime() {
return result.getEndTime();
}
@Override @Override
public String getMessage() { public String getMessage() {
return message; return message;

View file

@ -135,7 +135,7 @@ class TestClustersPluginFuncTest extends AbstractGradleFuncTest {
esplugin { esplugin {
name = 'test-$pluginType' name = 'test-$pluginType'
classname 'org.acme.TestModule' classname = 'org.acme.TestModule'
description = "test $pluginType description" description = "test $pluginType description"
} }

View file

@ -364,24 +364,24 @@ tasks.register("verifyBwcTestsEnabled") {
} }
tasks.register("branchConsistency") { tasks.register("branchConsistency") {
description 'Ensures this branch is internally consistent. For example, that versions constants match released versions.' description = 'Ensures this branch is internally consistent. For example, that versions constants match released versions.'
group 'Verification' group 'Verification'
dependsOn ":verifyVersions", ":verifyBwcTestsEnabled" dependsOn ":verifyVersions", ":verifyBwcTestsEnabled"
} }
tasks.named("wrapper").configure { tasks.named("wrapper").configure {
distributionType = 'ALL' distributionType = 'ALL'
def minimumGradleVersionFile = project.file('build-tools-internal/src/main/resources/minimumGradleVersion')
doLast { doLast {
// copy wrapper properties file to build-tools-internal to allow seamless idea integration // copy wrapper properties file to build-tools-internal to allow seamless idea integration
def file = new File("build-tools-internal/gradle/wrapper/gradle-wrapper.properties") def file = new File("build-tools-internal/gradle/wrapper/gradle-wrapper.properties")
Files.copy(wrapper.getPropertiesFile().toPath(), file.toPath(), REPLACE_EXISTING) Files.copy(getPropertiesFile().toPath(), file.toPath(), REPLACE_EXISTING)
// copy wrapper properties file to plugins/examples to allow seamless idea integration // copy wrapper properties file to plugins/examples to allow seamless idea integration
def examplePluginsWrapperProperties = new File("plugins/examples/gradle/wrapper/gradle-wrapper.properties") def examplePluginsWrapperProperties = new File("plugins/examples/gradle/wrapper/gradle-wrapper.properties")
Files.copy(wrapper.getPropertiesFile().toPath(), examplePluginsWrapperProperties.toPath(), REPLACE_EXISTING) Files.copy(getPropertiesFile().toPath(), examplePluginsWrapperProperties.toPath(), REPLACE_EXISTING)
// Update build-tools to reflect the Gradle upgrade // Update build-tools to reflect the Gradle upgrade
// TODO: we can remove this once we have tests to make sure older versions work. // TODO: we can remove this once we have tests to make sure older versions work.
project.file('build-tools-internal/src/main/resources/minimumGradleVersion').text = gradleVersion minimumGradleVersionFile.text = gradleVersion
println "Updated minimum Gradle Version" println "Updated minimum Gradle Version"
} }
} }

View file

@ -12,9 +12,9 @@ group = 'org.elasticsearch.plugin'
apply plugin: 'elasticsearch.internal-es-plugin' apply plugin: 'elasticsearch.internal-es-plugin'
esplugin { esplugin {
name 'client-benchmark-noop-api' name = 'client-benchmark-noop-api'
description 'Stubbed out Elasticsearch actions that can be used for client-side benchmarking' description = 'Stubbed out Elasticsearch actions that can be used for client-side benchmarking'
classname 'org.elasticsearch.plugin.noop.NoopPlugin' classname ='org.elasticsearch.plugin.noop.NoopPlugin'
} }
// Not published so no need to assemble // Not published so no need to assemble

View file

@ -647,8 +647,8 @@ subprojects {
// in the final log4j2.properties configuration, as it appears in the // in the final log4j2.properties configuration, as it appears in the
// archive distribution. // archive distribution.
artifacts.add('log4jConfig', file("${defaultOutputs}/log4j2.properties")) { artifacts.add('log4jConfig', file("${defaultOutputs}/log4j2.properties")) {
type 'file' type = 'file'
name 'log4j2.properties' name = 'log4j2.properties'
builtBy 'buildDefaultLog4jConfig' builtBy 'buildDefaultLog4jConfig'
} }

View file

@ -28,7 +28,7 @@ repositories {
// other Docker variants, the need for the main image to be rebuildable by Docker Hub // other Docker variants, the need for the main image to be rebuildable by Docker Hub
// means that the Dockerfile itself has to fetch the binary. // means that the Dockerfile itself has to fetch the binary.
ivy { ivy {
url 'https://github.com/' url = 'https://github.com/'
patternLayout { patternLayout {
artifact '/[organisation]/[module]/releases/download/v[revision]/[module]-[classifier]' artifact '/[organisation]/[module]/releases/download/v[revision]/[module]-[classifier]'
} }
@ -50,7 +50,7 @@ if (useDra == false) {
artifact '/[organisation]/[module]-[revision]-[classifier].[ext]' artifact '/[organisation]/[module]-[revision]-[classifier].[ext]'
} }
} else { } else {
url "https://artifacts-snapshot.elastic.co/" url = "https://artifacts-snapshot.elastic.co/"
patternLayout { patternLayout {
if (VersionProperties.isElasticsearchSnapshot()) { if (VersionProperties.isElasticsearchSnapshot()) {
artifact '/[organization]/[revision]/downloads/[organization]/[module]/[module]-[revision]-[classifier].[ext]' artifact '/[organization]/[revision]/downloads/[organization]/[module]/[module]-[revision]-[classifier].[ext]'
@ -583,8 +583,8 @@ subprojects { Project subProject ->
} }
artifacts.add('default', file(tarFile)) { artifacts.add('default', file(tarFile)) {
type 'tar' type = 'tar'
name artifactName name = artifactName
builtBy exportTaskName builtBy exportTaskName
} }
} }

View file

@ -43,7 +43,7 @@ import java.util.regex.Pattern
*/ */
plugins { plugins {
id "com.netflix.nebula.ospackage-base" version "11.10.0" id "com.netflix.nebula.ospackage-base" version "11.10.1"
} }
['deb', 'rpm'].each { type -> ['deb', 'rpm'].each { type ->
@ -87,21 +87,21 @@ def commonPackageConfig(String type, String architecture) {
OS.current().equals(OS.WINDOWS) == false OS.current().equals(OS.WINDOWS) == false
} }
dependsOn "process${type.capitalize()}Files" dependsOn "process${type.capitalize()}Files"
packageName "elasticsearch" packageName = "elasticsearch"
if (type == 'deb') { if (type == 'deb') {
if (architecture == 'x64') { if (architecture == 'x64') {
arch('amd64') arch = 'amd64'
} else { } else {
assert architecture == 'aarch64': architecture assert architecture == 'aarch64': architecture
arch('arm64') arch = 'arm64'
} }
} else { } else {
assert type == 'rpm': type assert type == 'rpm': type
if (architecture == 'x64') { if (architecture == 'x64') {
arch('X86_64') arch = 'X86_64'
} else { } else {
assert architecture == 'aarch64': architecture assert architecture == 'aarch64': architecture
arch('aarch64') arch = 'aarch64'
} }
} }
// Follow elasticsearch's file naming convention // Follow elasticsearch's file naming convention
@ -200,7 +200,7 @@ def commonPackageConfig(String type, String architecture) {
into('/etc') into('/etc')
permissionGroup 'elasticsearch' permissionGroup 'elasticsearch'
setgid true setgid true
includeEmptyDirs true includeEmptyDirs = true
createDirectoryEntry true createDirectoryEntry true
include("elasticsearch") // empty dir, just to add directory entry include("elasticsearch") // empty dir, just to add directory entry
include("elasticsearch/jvm.options.d") // empty dir, just to add directory entry include("elasticsearch/jvm.options.d") // empty dir, just to add directory entry
@ -215,7 +215,7 @@ def commonPackageConfig(String type, String architecture) {
unix(0660) unix(0660)
} }
permissionGroup 'elasticsearch' permissionGroup 'elasticsearch'
includeEmptyDirs true includeEmptyDirs = true
createDirectoryEntry true createDirectoryEntry true
fileType CONFIG | NOREPLACE fileType CONFIG | NOREPLACE
} }
@ -265,7 +265,7 @@ def commonPackageConfig(String type, String architecture) {
into(file.parent) { into(file.parent) {
from "${packagingFiles}/${file.parent}" from "${packagingFiles}/${file.parent}"
include file.name include file.name
includeEmptyDirs true includeEmptyDirs = true
createDirectoryEntry true createDirectoryEntry true
user u user u
permissionGroup g permissionGroup g
@ -289,15 +289,15 @@ def commonPackageConfig(String type, String architecture) {
// this is package independent configuration // this is package independent configuration
ospackage { ospackage {
maintainer 'Elasticsearch Team <info@elastic.co>' maintainer = 'Elasticsearch Team <info@elastic.co>'
summary 'Distributed RESTful search engine built for the cloud' summary = 'Distributed RESTful search engine built for the cloud'
packageDescription ''' packageDescription = '''
Reference documentation can be found at Reference documentation can be found at
https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html
and the 'Elasticsearch: The Definitive Guide' book can be found at and the 'Elasticsearch: The Definitive Guide' book can be found at
https://www.elastic.co/guide/en/elasticsearch/guide/current/index.html https://www.elastic.co/guide/en/elasticsearch/guide/current/index.html
'''.stripIndent().trim() '''.stripIndent().trim()
url 'https://www.elastic.co/' url = 'https://www.elastic.co/'
// signing setup // signing setup
if (project.hasProperty('signing.password') && buildParams.isSnapshotBuild() == false) { if (project.hasProperty('signing.password') && buildParams.isSnapshotBuild() == false) {
@ -311,10 +311,10 @@ ospackage {
// version found on oldest supported distro, centos-6 // version found on oldest supported distro, centos-6
requires('coreutils', '8.4', GREATER | EQUAL) requires('coreutils', '8.4', GREATER | EQUAL)
fileMode 0644 fileMode = 0644
dirMode 0755 dirMode = 0755
user 'root' user = 'root'
permissionGroup 'root' permissionGroup = 'root'
into '/usr/share/elasticsearch' into '/usr/share/elasticsearch'
} }
@ -330,7 +330,7 @@ Closure commonDebConfig(String architecture) {
customFields['License'] = 'Elastic-License' customFields['License'] = 'Elastic-License'
archiveVersion = project.version.replace('-', '~') archiveVersion = project.version.replace('-', '~')
packageGroup 'web' packageGroup = 'web'
// versions found on oldest supported distro, centos-6 // versions found on oldest supported distro, centos-6
requires('bash', '4.1', GREATER | EQUAL) requires('bash', '4.1', GREATER | EQUAL)
@ -358,24 +358,24 @@ Closure commonRpmConfig(String architecture) {
return { return {
configure(commonPackageConfig('rpm', architecture)) configure(commonPackageConfig('rpm', architecture))
license 'Elastic License' license = 'Elastic License'
packageGroup 'Application/Internet' packageGroup = 'Application/Internet'
requires '/bin/bash' requires '/bin/bash'
obsoletes packageName, '7.0.0', Flags.LESS obsoletes packageName, '7.0.0', Flags.LESS
prefix '/usr' prefix '/usr'
packager 'Elasticsearch' packager = 'Elasticsearch'
archiveVersion = project.version.replace('-', '_') archiveVersion = project.version.replace('-', '_')
release = '1' release = '1'
os 'LINUX' os = 'LINUX'
distribution 'Elasticsearch' distribution = 'Elasticsearch'
vendor 'Elasticsearch' vendor = 'Elasticsearch'
// TODO ospackage doesn't support icon but we used to have one // TODO ospackage doesn't support icon but we used to have one
// without this the rpm will have parent dirs of any files we copy in, eg /etc/elasticsearch // without this the rpm will have parent dirs of any files we copy in, eg /etc/elasticsearch
addParentDirs false addParentDirs = false
} }
} }

View file

@ -949,14 +949,9 @@
<sha256 value="d694edd7bae3bc1a8e0dae2f5a22c479ff04d6b9bfcb0ab751a42f02e02d2100" origin="Generated by Gradle"/> <sha256 value="d694edd7bae3bc1a8e0dae2f5a22c479ff04d6b9bfcb0ab751a42f02e02d2100" origin="Generated by Gradle"/>
</artifact> </artifact>
</component> </component>
<component group="com.netflix.nebula" name="gradle-ospackage-plugin" version="11.10.0"> <component group="com.netflix.nebula" name="gradle-ospackage-plugin" version="11.10.1">
<artifact name="gradle-ospackage-plugin-11.10.0.jar"> <artifact name="gradle-ospackage-plugin-11.10.1.jar">
<sha256 value="93c264b05864f8db979a169a99e4bfaad84caa30b829743f67210382dff89619" origin="Generated by Gradle"/> <sha256 value="8f1daf5885f1a8f6bcab00bf9b52cf484d87da7839e9bbd327a94af27df5dacc" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.netflix.nebula" name="gradle-ospackage-plugin" version="11.9.1">
<artifact name="gradle-ospackage-plugin-11.9.1.jar">
<sha256 value="63b2c387cb83481bb8d7e33e0be02e9000c0ec30843ca7730641392f3f5f28ad" origin="Generated by Gradle"/>
</artifact> </artifact>
</component> </component>
<component group="com.netflix.nebula" name="nebula-gradle-interop" version="2.0.0"> <component group="com.netflix.nebula" name="nebula-gradle-interop" version="2.0.0">

View file

@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionSha256Sum=89d4e70e4e84e2d2dfbb63e4daa53e21b25017cc70c37e4eea31ee51fb15098a distributionSha256Sum=7ebdac923867a3cec0098302416d1e3c6c0c729fc4e2e05c10637a8af33a76c5
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

3
gradlew vendored
View file

@ -86,8 +86,7 @@ done
# shellcheck disable=SC2034 # shellcheck disable=SC2034
APP_BASE_NAME=${0##*/} APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum MAX_FD=maximum

View file

@ -10,9 +10,9 @@
apply plugin: 'elasticsearch.base-internal-es-plugin' apply plugin: 'elasticsearch.base-internal-es-plugin'
esplugin { esplugin {
name 'entitlement-allowed-nonmodular' name = 'entitlement-allowed-nonmodular'
description 'A non-modular test module that invokes entitlement checks that are supposed to be granted' description = 'A non-modular test module that invokes entitlement checks that are supposed to be granted'
classname 'org.elasticsearch.entitlement.qa.nonmodular.EntitlementAllowedNonModularPlugin' classname = 'org.elasticsearch.entitlement.qa.nonmodular.EntitlementAllowedNonModularPlugin'
} }
dependencies { dependencies {

View file

@ -10,9 +10,9 @@
apply plugin: 'elasticsearch.base-internal-es-plugin' apply plugin: 'elasticsearch.base-internal-es-plugin'
esplugin { esplugin {
name 'entitlement-allowed' name = 'entitlement-allowed'
description 'A test module that invokes entitlement checks that are supposed to be granted' description = 'A test module that invokes entitlement checks that are supposed to be granted'
classname 'org.elasticsearch.entitlement.qa.EntitlementAllowedPlugin' classname = 'org.elasticsearch.entitlement.qa.EntitlementAllowedPlugin'
} }
dependencies { dependencies {

View file

@ -10,9 +10,9 @@
apply plugin: 'elasticsearch.base-internal-es-plugin' apply plugin: 'elasticsearch.base-internal-es-plugin'
esplugin { esplugin {
name 'entitlement-denied-nonmodular' name = 'entitlement-denied-nonmodular'
description 'A non-modular test module that invokes non-granted entitlement and triggers exceptions' description = 'A non-modular test module that invokes non-granted entitlement and triggers exceptions'
classname 'org.elasticsearch.entitlement.qa.nonmodular.EntitlementDeniedNonModularPlugin' classname = 'org.elasticsearch.entitlement.qa.nonmodular.EntitlementDeniedNonModularPlugin'
} }
dependencies { dependencies {

View file

@ -10,9 +10,9 @@
apply plugin: 'elasticsearch.base-internal-es-plugin' apply plugin: 'elasticsearch.base-internal-es-plugin'
esplugin { esplugin {
name 'entitlement-denied' name = 'entitlement-denied'
description 'A test module that invokes non-granted entitlement and triggers exceptions' description = 'A test module that invokes non-granted entitlement and triggers exceptions'
classname 'org.elasticsearch.entitlement.qa.EntitlementDeniedPlugin' classname = 'org.elasticsearch.entitlement.qa.EntitlementDeniedPlugin'
} }
dependencies { dependencies {

View file

@ -25,7 +25,7 @@ repositories {
exclusiveContent { exclusiveContent {
forRepository { forRepository {
maven { maven {
url "https://artifactory.elastic.dev/artifactory/elasticsearch-native" url = "https://artifactory.elastic.dev/artifactory/elasticsearch-native"
metadataSources { metadataSources {
artifact() artifact()
} }

3809
libs/simdvec/output.txt Normal file

File diff suppressed because one or more lines are too long

View file

@ -11,8 +11,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Adds "built in" aggregations to Elasticsearch.' description = 'Adds "built in" aggregations to Elasticsearch.'
classname 'org.elasticsearch.aggregations.AggregationsPlugin' classname ='org.elasticsearch.aggregations.AggregationsPlugin'
extendedPlugins = ['lang-painless'] extendedPlugins = ['lang-painless']
} }

View file

@ -13,8 +13,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Adds "built in" analyzers to Elasticsearch.' description = 'Adds "built in" analyzers to Elasticsearch.'
classname 'org.elasticsearch.analysis.common.CommonAnalysisPlugin' classname = 'org.elasticsearch.analysis.common.CommonAnalysisPlugin'
extendedPlugins = ['lang-painless'] extendedPlugins = ['lang-painless']
} }

View file

@ -7,9 +7,9 @@
apply plugin: 'elasticsearch.internal-es-plugin' apply plugin: 'elasticsearch.internal-es-plugin'
esplugin { esplugin {
name 'apm' name = 'apm'
description 'Provides APM integration for Elasticsearch' description = 'Provides APM integration for Elasticsearch'
classname 'org.elasticsearch.telemetry.apm.APM' classname ='org.elasticsearch.telemetry.apm.APM'
} }
def otelVersion = '1.31.0' def otelVersion = '1.31.0'

View file

@ -7,8 +7,8 @@ apply plugin: 'elasticsearch.internal-java-rest-test'
apply plugin: 'elasticsearch.yaml-rest-compat-test' apply plugin: 'elasticsearch.yaml-rest-compat-test'
esplugin { esplugin {
description 'Elasticsearch Expanded Pack Plugin - Data Streams' description = 'Elasticsearch Expanded Pack Plugin - Data Streams'
classname 'org.elasticsearch.datastreams.DataStreamsPlugin' classname ='org.elasticsearch.datastreams.DataStreamsPlugin'
} }
restResources { restResources {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Validation for dot-prefixed indices for non-operator users' description = 'Validation for dot-prefixed indices for non-operator users'
classname 'org.elasticsearch.validation.DotPrefixValidationPlugin' classname = 'org.elasticsearch.validation.DotPrefixValidationPlugin'
} }
restResources { restResources {

View file

@ -11,8 +11,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Health report API extension providing the shards_availability output' description = 'Health report API extension providing the shards_availability output'
classname 'org.elasticsearch.health.plugin.ShardsAvailabilityPlugin' classname = 'org.elasticsearch.health.plugin.ShardsAvailabilityPlugin'
} }
restResources { restResources {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test'
apply plugin: 'elasticsearch.yaml-rest-compat-test' apply plugin: 'elasticsearch.yaml-rest-compat-test'
esplugin { esplugin {
description 'Ingest processor that uses Apache Tika to extract contents' description = 'Ingest processor that uses Apache Tika to extract contents'
classname 'org.elasticsearch.ingest.attachment.IngestAttachmentPlugin' classname = 'org.elasticsearch.ingest.attachment.IngestAttachmentPlugin'
} }
// this overwrites the 'versions' map from Elasticsearch itself, but indeed we want that -- we're interested in managing our dependencies // this overwrites the 'versions' map from Elasticsearch itself, but indeed we want that -- we're interested in managing our dependencies

View file

@ -13,8 +13,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Module for ingest processors that do not require additional security permissions or have large dependencies and resources' description = 'Module for ingest processors that do not require additional security permissions or have large dependencies and resources'
classname 'org.elasticsearch.ingest.common.IngestCommonPlugin' classname ='org.elasticsearch.ingest.common.IngestCommonPlugin'
extendedPlugins = ['lang-painless'] extendedPlugins = ['lang-painless']
} }

View file

@ -14,8 +14,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Ingest processor that uses lookup geo data based on IP addresses using the MaxMind geo database' description = 'Ingest processor that uses lookup geo data based on IP addresses using the MaxMind geo database'
classname 'org.elasticsearch.ingest.geoip.IngestGeoIpPlugin' classname ='org.elasticsearch.ingest.geoip.IngestGeoIpPlugin'
bundleSpec.from("${project.buildDir}/ingest-geoip") { bundleSpec.from("${project.buildDir}/ingest-geoip") {
into '/' into '/'

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test'
apply plugin: 'elasticsearch.yaml-rest-compat-test' apply plugin: 'elasticsearch.yaml-rest-compat-test'
esplugin { esplugin {
description 'Ingest processor that extracts information from a user agent' description = 'Ingest processor that extracts information from a user agent'
classname 'org.elasticsearch.ingest.useragent.IngestUserAgentPlugin' classname ='org.elasticsearch.ingest.useragent.IngestUserAgentPlugin'
} }
restResources { restResources {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'elasticsearch.internal-java-rest-test' apply plugin: 'elasticsearch.internal-java-rest-test'
esplugin { esplugin {
description 'Plugin exposing APIs for Kibana system indices' description = 'Plugin exposing APIs for Kibana system indices'
classname 'org.elasticsearch.kibana.KibanaPlugin' classname ='org.elasticsearch.kibana.KibanaPlugin'
} }
dependencies { dependencies {

View file

@ -11,8 +11,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Lucene expressions integration for Elasticsearch' description = 'Lucene expressions integration for Elasticsearch'
classname 'org.elasticsearch.script.expression.ExpressionPlugin' classname ='org.elasticsearch.script.expression.ExpressionPlugin'
} }
dependencies { dependencies {

View file

@ -12,8 +12,8 @@ apply plugin: 'elasticsearch.legacy-java-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Mustache scripting integration for Elasticsearch' description = 'Mustache scripting integration for Elasticsearch'
classname 'org.elasticsearch.script.mustache.MustachePlugin' classname ='org.elasticsearch.script.mustache.MustachePlugin'
} }
dependencies { dependencies {

View file

@ -15,8 +15,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'An easy, safe and fast scripting language for Elasticsearch' description = 'An easy, safe and fast scripting language for Elasticsearch'
classname 'org.elasticsearch.painless.PainlessPlugin' classname ='org.elasticsearch.painless.PainlessPlugin'
} }
testClusters.configureEach { testClusters.configureEach {

View file

@ -10,8 +10,8 @@
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Placeholder plugin for geospatial features in ES' description = 'Placeholder plugin for geospatial features in ES'
classname 'org.elasticsearch.legacygeo.LegacyGeoPlugin' classname = 'org.elasticsearch.legacygeo.LegacyGeoPlugin'
} }
dependencies { dependencies {

View file

@ -12,8 +12,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Adds advanced field mappers' description = 'Adds advanced field mappers'
classname 'org.elasticsearch.index.mapper.extras.MapperExtrasPlugin' classname ='org.elasticsearch.index.mapper.extras.MapperExtrasPlugin'
} }
restResources { restResources {

View file

@ -11,8 +11,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'This module adds the support parent-child queries and aggregations' description = 'This module adds the support parent-child queries and aggregations'
classname 'org.elasticsearch.join.ParentJoinPlugin' classname = 'org.elasticsearch.join.ParentJoinPlugin'
} }
restResources { restResources {

View file

@ -11,8 +11,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Percolator module adds capability to index queries and query these queries by specifying documents' description = 'Percolator module adds capability to index queries and query these queries by specifying documents'
classname 'org.elasticsearch.percolator.PercolatorPlugin' classname = 'org.elasticsearch.percolator.PercolatorPlugin'
} }
dependencies { dependencies {

View file

@ -11,8 +11,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The Rank Eval module adds APIs to evaluate ranking quality.' description = 'The Rank Eval module adds APIs to evaluate ranking quality.'
classname 'org.elasticsearch.index.rankeval.RankEvalPlugin' classname = 'org.elasticsearch.index.rankeval.RankEvalPlugin'
} }
restResources { restResources {

View file

@ -21,8 +21,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The Reindex module adds APIs to reindex from one index to another or update documents in place.' description = 'The Reindex module adds APIs to reindex from one index to another or update documents in place.'
classname 'org.elasticsearch.reindex.ReindexPlugin' classname = 'org.elasticsearch.reindex.ReindexPlugin'
} }
testClusters.configureEach { testClusters.configureEach {
@ -135,7 +135,8 @@ if (OS.current() == OS.WINDOWS) {
TaskProvider<AntFixture> fixture = tasks.register("oldEs${version}Fixture", AntFixture) { TaskProvider<AntFixture> fixture = tasks.register("oldEs${version}Fixture", AntFixture) {
dependsOn project.configurations.oldesFixture, jdks.legacy, oldEsDependency dependsOn project.configurations.oldesFixture, jdks.legacy, oldEsDependency
executable = "${buildParams.runtimeJavaHome.get()}/bin/java" executable = "${buildParams.runtimeJavaHome.get()}/bin/java"
env 'CLASSPATH', "${-> project.configurations.oldesFixture.asPath}" def oldesFixtureConfiguration = project.configurations.oldesFixture
env 'CLASSPATH', "${-> oldesFixtureConfiguration.asPath}"
// old versions of Elasticsearch need JAVA_HOME // old versions of Elasticsearch need JAVA_HOME
env 'JAVA_HOME', jdks.legacy.javaHomePath env 'JAVA_HOME', jdks.legacy.javaHomePath
// If we are running on certain arm systems we need to explicitly set the stack size to overcome JDK page size bug // If we are running on certain arm systems we need to explicitly set the stack size to overcome JDK page size bug

View file

@ -15,8 +15,8 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The Azure Repository plugin adds support for Azure storage repositories.' description = 'The Azure Repository plugin adds support for Azure storage repositories.'
classname 'org.elasticsearch.repositories.azure.AzureRepositoryPlugin' classname ='org.elasticsearch.repositories.azure.AzureRepositoryPlugin'
} }
versions << [ versions << [

View file

@ -17,8 +17,8 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The GCS repository plugin adds Google Cloud Storage support for repositories.' description = 'The GCS repository plugin adds Google Cloud Storage support for repositories.'
classname 'org.elasticsearch.repositories.gcs.GoogleCloudStoragePlugin' classname ='org.elasticsearch.repositories.gcs.GoogleCloudStoragePlugin'
} }
dependencies { dependencies {

View file

@ -14,8 +14,8 @@ apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'elasticsearch.internal-java-rest-test' apply plugin: 'elasticsearch.internal-java-rest-test'
esplugin { esplugin {
description 'The S3 repository plugin adds S3 repositories' description = 'The S3 repository plugin adds S3 repositories'
classname 'org.elasticsearch.repositories.s3.S3RepositoryPlugin' classname ='org.elasticsearch.repositories.s3.S3RepositoryPlugin'
} }
dependencies { dependencies {

View file

@ -14,8 +14,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Module for URL repository' description = 'Module for URL repository'
classname 'org.elasticsearch.plugin.repository.url.URLRepositoryPlugin' classname ='org.elasticsearch.plugin.repository.url.URLRepositoryPlugin'
} }
restResources { restResources {

View file

@ -11,8 +11,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'Adds HEAD and GET / endpoint to Elasticsearch' description = 'Adds HEAD and GET / endpoint to Elasticsearch'
classname 'org.elasticsearch.rest.root.MainRestPlugin' classname ='org.elasticsearch.rest.root.MainRestPlugin'
} }
restResources { restResources {

View file

@ -12,8 +12,8 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test'
apply plugin: 'elasticsearch.yaml-rest-compat-test' apply plugin: 'elasticsearch.yaml-rest-compat-test'
esplugin { esplugin {
description 'Module for runtime fields features and extensions that have large dependencies' description = 'Module for runtime fields features and extensions that have large dependencies'
classname 'org.elasticsearch.runtimefields.RuntimeFieldsCommonPlugin' classname = 'org.elasticsearch.runtimefields.RuntimeFieldsCommonPlugin'
extendedPlugins = ['lang-painless'] extendedPlugins = ['lang-painless']
} }

View file

@ -8,8 +8,8 @@
*/ */
esplugin { esplugin {
description 'Integrates Elasticsearch with systemd' description = 'Integrates Elasticsearch with systemd'
classname 'org.elasticsearch.systemd.SystemdPlugin' classname ='org.elasticsearch.systemd.SystemdPlugin'
} }
dependencies { dependencies {

View file

@ -23,8 +23,8 @@ apply plugin: 'elasticsearch.publish'
* fix the hack in the build framework that copies transport-netty4 into the integ test cluster * fix the hack in the build framework that copies transport-netty4 into the integ test cluster
*/ */
esplugin { esplugin {
description 'Netty 4 based transport implementation' description = 'Netty 4 based transport implementation'
classname 'org.elasticsearch.transport.netty4.Netty4Plugin' classname = 'org.elasticsearch.transport.netty4.Netty4Plugin'
} }
// exclude transitively pulled in version via the esplugin plugin to always build from fresh sources and make jar-hell checks pass // exclude transitively pulled in version via the esplugin plugin to always build from fresh sources and make jar-hell checks pass

View file

@ -11,8 +11,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The ICU Analysis plugin integrates the Lucene ICU module into Elasticsearch, adding ICU-related analysis components.' description = 'The ICU Analysis plugin integrates the Lucene ICU module into Elasticsearch, adding ICU-related analysis components.'
classname 'org.elasticsearch.plugin.analysis.icu.AnalysisICUPlugin' classname ='org.elasticsearch.plugin.analysis.icu.AnalysisICUPlugin'
} }
tasks.named("forbiddenApisMain").configure { tasks.named("forbiddenApisMain").configure {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test' apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
esplugin { esplugin {
description 'The Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into elasticsearch.' description = 'The Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into elasticsearch.'
classname 'org.elasticsearch.plugin.analysis.kuromoji.AnalysisKuromojiPlugin' classname ='org.elasticsearch.plugin.analysis.kuromoji.AnalysisKuromojiPlugin'
} }
dependencies { dependencies {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test' apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
esplugin { esplugin {
description 'The Korean (nori) Analysis plugin integrates Lucene nori analysis module into elasticsearch.' description = 'The Korean (nori) Analysis plugin integrates Lucene nori analysis module into elasticsearch.'
classname 'org.elasticsearch.plugin.analysis.nori.AnalysisNoriPlugin' classname ='org.elasticsearch.plugin.analysis.nori.AnalysisNoriPlugin'
} }
dependencies { dependencies {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test' apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
esplugin { esplugin {
description 'The Phonetic Analysis plugin integrates phonetic token filter analysis with elasticsearch.' description = 'The Phonetic Analysis plugin integrates phonetic token filter analysis with elasticsearch.'
classname 'org.elasticsearch.plugin.analysis.phonetic.AnalysisPhoneticPlugin' classname ='org.elasticsearch.plugin.analysis.phonetic.AnalysisPhoneticPlugin'
} }
dependencies { dependencies {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test' apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
esplugin { esplugin {
description 'Smart Chinese Analysis plugin integrates Lucene Smart Chinese analysis module into elasticsearch.' description = 'Smart Chinese Analysis plugin integrates Lucene Smart Chinese analysis module into elasticsearch.'
classname 'org.elasticsearch.plugin.analysis.smartcn.AnalysisSmartChinesePlugin' classname ='org.elasticsearch.plugin.analysis.smartcn.AnalysisSmartChinesePlugin'
} }
dependencies { dependencies {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test' apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
esplugin { esplugin {
description 'The Stempel (Polish) Analysis plugin integrates Lucene stempel (polish) analysis module into elasticsearch.' description = 'The Stempel (Polish) Analysis plugin integrates Lucene stempel (polish) analysis module into elasticsearch.'
classname 'org.elasticsearch.plugin.analysis.stempel.AnalysisStempelPlugin' classname ='org.elasticsearch.plugin.analysis.stempel.AnalysisStempelPlugin'
} }
dependencies { dependencies {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test' apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
esplugin { esplugin {
description 'The Ukrainian Analysis plugin integrates the Lucene UkrainianMorfologikAnalyzer into elasticsearch.' description = 'The Ukrainian Analysis plugin integrates the Lucene UkrainianMorfologikAnalyzer into elasticsearch.'
classname 'org.elasticsearch.plugin.analysis.ukrainian.AnalysisUkrainianPlugin' classname ='org.elasticsearch.plugin.analysis.ukrainian.AnalysisUkrainianPlugin'
} }
dependencies { dependencies {

View file

@ -22,10 +22,10 @@ configure(subprojects.findAll { it.parent.path == project.path }) {
esplugin { esplugin {
// for local ES plugins, the name of the plugin is the same as the directory // for local ES plugins, the name of the plugin is the same as the directory
name project.name name = project.name
licenseFile rootProject.file('licenses/AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('licenses/AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }

View file

@ -13,8 +13,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The Azure Classic Discovery plugin allows to use Azure Classic API for the unicast discovery mechanism' description = 'The Azure Classic Discovery plugin allows to use Azure Classic API for the unicast discovery mechanism'
classname 'org.elasticsearch.plugin.discovery.azure.classic.AzureDiscoveryPlugin' classname ='org.elasticsearch.plugin.discovery.azure.classic.AzureDiscoveryPlugin'
} }
def localVersions = versions + [ def localVersions = versions + [

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.internal-java-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The EC2 discovery plugin allows to use AWS API for the unicast discovery mechanism.' description = 'The EC2 discovery plugin allows to use AWS API for the unicast discovery mechanism.'
classname 'org.elasticsearch.discovery.ec2.Ec2DiscoveryPlugin' classname ='org.elasticsearch.discovery.ec2.Ec2DiscoveryPlugin'
} }
dependencies { dependencies {

View file

@ -2,8 +2,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The Google Compute Engine (GCE) Discovery plugin allows to use GCE API for the unicast discovery mechanism.' description = 'The Google Compute Engine (GCE) Discovery plugin allows to use GCE API for the unicast discovery mechanism.'
classname 'org.elasticsearch.plugin.discovery.gce.GceDiscoveryPlugin' classname ='org.elasticsearch.plugin.discovery.gce.GceDiscoveryPlugin'
} }
versions << [ versions << [

View file

@ -28,8 +28,9 @@ restResources {
/** A task to start the GCEFixture which emulates a GCE service **/ /** A task to start the GCEFixture which emulates a GCE service **/
def gceFixtureProvider = tasks.register("gceFixture", AntFixture) { def gceFixtureProvider = tasks.register("gceFixture", AntFixture) {
dependsOn project.sourceSets.yamlRestTest.runtimeClasspath def runtimeClasspath = project.sourceSets.yamlRestTest.runtimeClasspath
env 'CLASSPATH', "${-> project.sourceSets.yamlRestTest.runtimeClasspath.asPath}" dependsOn runtimeClasspath
env 'CLASSPATH', "${-> runtimeClasspath.asPath}"
executable = "${buildParams.runtimeJavaHome.get()}/bin/java" executable = "${buildParams.runtimeJavaHome.get()}/bin/java"
args 'org.elasticsearch.cloud.gce.GCEFixture', baseDir, "${buildDir}/testclusters/yamlRestTest-1/config/unicast_hosts.txt" args 'org.elasticsearch.cloud.gce.GCEFixture', baseDir, "${buildDir}/testclusters/yamlRestTest-1/config/unicast_hosts.txt"
} }

View file

@ -10,11 +10,11 @@ apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.yaml-rest-test' apply plugin: 'elasticsearch.yaml-rest-test'
esplugin { esplugin {
name 'custom-processor' name = 'custom-processor'
description 'An example plugin showing how to register a custom ingest processor' description = 'An example plugin showing how to register a custom ingest processor'
classname 'org.elasticsearch.example.customprocessor.ExampleProcessorPlugin' classname ='org.elasticsearch.example.customprocessor.ExampleProcessorPlugin'
licenseFile rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
dependencies { dependencies {

View file

@ -10,11 +10,11 @@ apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.yaml-rest-test' apply plugin: 'elasticsearch.yaml-rest-test'
esplugin { esplugin {
name 'custom-settings' name = 'custom-settings'
description 'An example plugin showing how to register custom settings' description = 'An example plugin showing how to register custom settings'
classname 'org.elasticsearch.example.customsettings.ExampleCustomSettingsPlugin' classname ='org.elasticsearch.example.customsettings.ExampleCustomSettingsPlugin'
licenseFile rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
testClusters.configureEach { testClusters.configureEach {

View file

@ -10,11 +10,11 @@ apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.yaml-rest-test' apply plugin: 'elasticsearch.yaml-rest-test'
esplugin { esplugin {
name 'custom-significance-heuristic' name = 'custom-significance-heuristic'
description 'An example plugin showing how to write and register a custom significance heuristic' description = 'An example plugin showing how to write and register a custom significance heuristic'
classname 'org.elasticsearch.example.customsigheuristic.CustomSignificanceHeuristicPlugin' classname ='org.elasticsearch.example.customsigheuristic.CustomSignificanceHeuristicPlugin'
licenseFile rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
dependencies { dependencies {

View file

@ -10,11 +10,11 @@ apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.yaml-rest-test' apply plugin: 'elasticsearch.yaml-rest-test'
esplugin { esplugin {
name 'custom-suggester' name = 'custom-suggester'
description 'An example plugin showing how to write and register a custom suggester' description = 'An example plugin showing how to write and register a custom suggester'
classname 'org.elasticsearch.example.customsuggester.CustomSuggesterPlugin' classname ='org.elasticsearch.example.customsuggester.CustomSuggesterPlugin'
licenseFile rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
testClusters.configureEach { testClusters.configureEach {

View file

@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionSha256Sum=89d4e70e4e84e2d2dfbb63e4daa53e21b25017cc70c37e4eea31ee51fb15098a distributionSha256Sum=7ebdac923867a3cec0098302416d1e3c6c0c729fc4e2e05c10637a8af33a76c5
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

View file

@ -10,12 +10,12 @@ apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.yaml-rest-test' apply plugin: 'elasticsearch.yaml-rest-test'
esplugin { esplugin {
name 'painless-whitelist' name = 'painless-whitelist'
description 'An example whitelisting additional classes and methods in painless' description = 'An example whitelisting additional classes and methods in painless'
classname 'org.elasticsearch.example.painlesswhitelist.MyWhitelistPlugin' classname ='org.elasticsearch.example.painlesswhitelist.MyWhitelistPlugin'
extendedPlugins = ['lang-painless'] extendedPlugins = ['lang-painless']
licenseFile rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
dependencies { dependencies {

View file

@ -10,11 +10,11 @@ apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.yaml-rest-test' apply plugin: 'elasticsearch.yaml-rest-test'
esplugin { esplugin {
name 'example-rescore' name = 'example-rescore'
description 'An example plugin implementing rescore and verifying that plugins *can* implement rescore' description = 'An example plugin implementing rescore and verifying that plugins *can* implement rescore'
classname 'org.elasticsearch.example.rescore.ExampleRescorePlugin' classname ='org.elasticsearch.example.rescore.ExampleRescorePlugin'
licenseFile rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
dependencies { dependencies {

View file

@ -10,11 +10,11 @@ apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.yaml-rest-test' apply plugin: 'elasticsearch.yaml-rest-test'
esplugin { esplugin {
name 'rest-handler' name = 'rest-handler'
description 'An example plugin showing how to register a REST handler' description = 'An example plugin showing how to register a REST handler'
classname 'org.elasticsearch.example.resthandler.ExampleRestHandlerPlugin' classname ='org.elasticsearch.example.resthandler.ExampleRestHandlerPlugin'
licenseFile rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
dependencies { dependencies {

View file

@ -10,11 +10,11 @@ apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.yaml-rest-test' apply plugin: 'elasticsearch.yaml-rest-test'
esplugin { esplugin {
name 'script-expert-scoring' name = 'script-expert-scoring'
description 'An example script engine to use low level Lucene internals for expert scoring' description = 'An example script engine to use low level Lucene internals for expert scoring'
classname 'org.elasticsearch.example.expertscript.ExpertScriptPlugin' classname ='org.elasticsearch.example.expertscript.ExpertScriptPlugin'
licenseFile rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
dependencies { dependencies {

View file

@ -2,12 +2,12 @@ apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.java-rest-test' apply plugin: 'elasticsearch.java-rest-test'
esplugin { esplugin {
name 'security-authorization-engine' name = 'security-authorization-engine'
description 'An example spi extension plugin for security that implements an Authorization Engine' description = 'An example spi extension plugin for security that implements an Authorization Engine'
classname 'org.elasticsearch.example.AuthorizationEnginePlugin' classname ='org.elasticsearch.example.AuthorizationEnginePlugin'
extendedPlugins = ['x-pack-security'] extendedPlugins = ['x-pack-security']
licenseFile rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
dependencies { dependencies {

View file

@ -2,8 +2,8 @@ apply plugin: 'elasticsearch.stable-esplugin'
apply plugin: 'elasticsearch.yaml-rest-test' apply plugin: 'elasticsearch.yaml-rest-test'
esplugin { esplugin {
name 'stable-analysis-plugin' name = 'stable-analysis-plugin'
description 'An example analysis plugin using stable plugin api' description = 'An example analysis plugin using stable plugin api'
} }
//TODO write module-info //TODO write module-info

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test'
apply plugin: 'elasticsearch.yaml-rest-compat-test' apply plugin: 'elasticsearch.yaml-rest-compat-test'
esplugin { esplugin {
description 'The Mapper Annotated_text plugin adds support for text fields with markup used to inject annotation tokens into the index.' description = 'The Mapper Annotated_text plugin adds support for text fields with markup used to inject annotation tokens into the index.'
classname 'org.elasticsearch.index.mapper.annotatedtext.AnnotatedTextPlugin' classname ='org.elasticsearch.index.mapper.annotatedtext.AnnotatedTextPlugin'
} }
restResources { restResources {

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test'
apply plugin: 'elasticsearch.yaml-rest-compat-test' apply plugin: 'elasticsearch.yaml-rest-compat-test'
esplugin { esplugin {
description 'The Mapper Murmur3 plugin allows to compute hashes of a field\'s values at index-time and to store them in the index.' description = 'The Mapper Murmur3 plugin allows to compute hashes of a field\'s values at index-time and to store them in the index.'
classname 'org.elasticsearch.plugin.mapper.MapperMurmur3Plugin' classname ='org.elasticsearch.plugin.mapper.MapperMurmur3Plugin'
extendedPlugins = ['lang-painless'] extendedPlugins = ['lang-painless']
} }

View file

@ -11,8 +11,8 @@ apply plugin: 'elasticsearch.yaml-rest-compat-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The Mapper Size plugin allows document to record their uncompressed size at index time.' description = 'The Mapper Size plugin allows document to record their uncompressed size at index time.'
classname 'org.elasticsearch.plugin.mapper.MapperSizePlugin' classname ='org.elasticsearch.plugin.mapper.MapperSizePlugin'
} }
restResources { restResources {

View file

@ -14,8 +14,8 @@ apply plugin: 'elasticsearch.internal-java-rest-test'
apply plugin: 'elasticsearch.internal-yaml-rest-test' apply plugin: 'elasticsearch.internal-yaml-rest-test'
esplugin { esplugin {
description 'The HDFS repository plugin adds support for Hadoop Distributed File-System (HDFS) repositories.' description = 'The HDFS repository plugin adds support for Hadoop Distributed File-System (HDFS) repositories.'
classname 'org.elasticsearch.repositories.hdfs.HdfsPlugin' classname ='org.elasticsearch.repositories.hdfs.HdfsPlugin'
} }
versions << [ versions << [

View file

@ -35,7 +35,6 @@ def patchTask = tasks.register("patchClasses", JavaExec) {
} }
} }
interface InjectedArchiveOps { interface InjectedArchiveOps {
@Inject ArchiveOperations getArchiveOperations() @Inject ArchiveOperations getArchiveOperations()
} }

View file

@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
description 'The Store SMB plugin adds support for SMB stores.' description = 'The Store SMB plugin adds support for SMB stores.'
classname 'org.elasticsearch.plugin.store.smb.SMBStorePlugin' classname ='org.elasticsearch.plugin.store.smb.SMBStorePlugin'
} }
restResources { restResources {
restApi { restApi {

View file

@ -3,9 +3,9 @@ apply plugin: 'elasticsearch.base-internal-es-plugin'
apply plugin: 'elasticsearch.internal-java-rest-test' apply plugin: 'elasticsearch.internal-java-rest-test'
esplugin { esplugin {
name 'logging-spi-test' name = 'logging-spi-test'
description 'An test plugin to test the SPI behaviour of ES logging' description = 'An test plugin to test the SPI behaviour of ES logging'
classname 'org.elasticsearch.test.logging.plugin.TestLoggingPlugin' classname ='org.elasticsearch.test.logging.plugin.TestLoggingPlugin'
} }
dependencies { dependencies {

View file

@ -39,14 +39,22 @@ elasticsearch_distributions {
} }
} }
interface Injected {
@Inject
FileSystemOperations getFs()
}
tasks.named("preProcessFixture").configure { tasks.named("preProcessFixture").configure {
dependsOn "copyNodeKeyMaterial", elasticsearch_distributions.docker dependsOn "copyNodeKeyMaterial", elasticsearch_distributions.docker
def injected = project.objects.newInstance(Injected)
doLast { doLast {
// tests expect to have an empty repo // tests expect to have an empty repo
project.delete( injected.fs.delete {
"${testFixturesDir}/repo", it.delete("${testFixturesDir}/repo")
"${testFixturesDir}/oss-repo" it.delete("${testFixturesDir}/oss-repo")
) }
createAndSetWritable( createAndSetWritable(
"${testFixturesDir}/repo", "${testFixturesDir}/repo",
"${testFixturesDir}/oss-repo", "${testFixturesDir}/oss-repo",
@ -69,7 +77,8 @@ dockerCompose {
def createAndSetWritable(Object... locations) { def createAndSetWritable(Object... locations) {
locations.each { location -> locations.each { location ->
File file = file(location) println "location = $location"
File file = new File(location)
file.mkdirs() file.mkdirs()
file.setWritable(true, false) file.setWritable(true, false)
} }

View file

@ -0,0 +1,125 @@
Using gradle at '/Users/rene/dev/elastic/elasticsearch/gradlew' to run buildfile '/Users/rene/dev/elastic/elasticsearch/qa/remote-clusters/build.gradle':
Starting a Gradle Daemon (subsequent builds will be faster)
Calculating task graph as no cached configuration is available for tasks: check
> Task :build-conventions:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/rene/dev/elastic/elasticsearch/build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/LicensingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :build-conventions:pluginDescriptors
> Task :build-conventions:processResources
> Task :build-conventions:classes
> Task :build-conventions:jar
> Task :build-tools:reaper:compileJava FROM-CACHE
> Task :build-tools:reaper:processResources NO-SOURCE
> Task :build-tools:reaper:classes UP-TO-DATE
> Task :build-tools-internal:extractPluginRequests FROM-CACHE
> Task :build-tools:reaper:jar
> Task :build-tools-internal:generatePluginAdapters FROM-CACHE
> Task :build-tools-internal:pluginDescriptors
> Task :build-tools:compileJava FROM-CACHE
> Task :build-tools:compileGroovy NO-SOURCE
> Task :build-tools:generateVersionProperties FROM-CACHE
> Task :build-tools:pluginDescriptors
> Task :build-tools:processResources
> Task :build-tools:classes
> Task :build-tools:jar
> Task :build-tools-internal:processResources
> Task :build-tools-internal:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :build-tools-internal:compileGroovy
> Task :build-tools-internal:compileGroovyPlugins
> Task :build-tools-internal:classes
> Task :build-tools-internal:jar
=======================================
Elasticsearch Build Hamster says Hello!
Gradle Version : 8.12
OS Info : Mac OS X 15.2 (aarch64)
JDK Version : 21.0.5+9-LTS-239 (Oracle)
JAVA_HOME : /Users/rene/.sdkman/candidates/java/21.0.5-oracle
Random Testing Seed : 8D9A9CFD8E09C560
In FIPS 140 mode : false
=======================================
> Task :qa:remote-clusters:processTestResources
> Task :server:generateModulesList
> Task :server:generatePluginsList
> Task :qa:remote-clusters:copyCheckstyleConf
> Task :qa:remote-clusters:filepermissions
> Task :client:sniffer:processResources NO-SOURCE
> Task :libs:core:processResources NO-SOURCE
> Task :libs:cli:processResources NO-SOURCE
> Task :libs:entitlement:processResources NO-SOURCE
> Task :libs:entitlement:bridge:processResources NO-SOURCE
> Task :libs:entitlement:asm-provider:processResources
> Task :libs:entitlement:processMain23Resources NO-SOURCE
> Task :libs:entitlement:bridge:processMain23Resources NO-SOURCE
> Task :libs:geo:processResources NO-SOURCE
> Task :libs:logging:processResources NO-SOURCE
> Task :libs:lz4:processResources NO-SOURCE
> Task :libs:native:processResources NO-SOURCE
> Task :libs:native:processMain22Resources NO-SOURCE
> Task :libs:plugin-analysis-api:processResources NO-SOURCE
> Task :libs:plugin-api:processResources NO-SOURCE
> Task :libs:secure-sm:processResources NO-SOURCE
> Task :libs:simdvec:processResources NO-SOURCE
> Task :libs:simdvec:processMain21Resources NO-SOURCE
> Task :libs:simdvec:processMain22Resources NO-SOURCE
> Task :client:rest:processResources
> Task :libs:tdigest:processResources NO-SOURCE
> Task :libs:x-content:impl:processResources
> Task :libs:x-content:processResources NO-SOURCE
> Task :modules:transport-netty4:processResources NO-SOURCE
> Task :server:processResources
> Task :libs:ssl-config:processResources NO-SOURCE
> Task :test:yaml-rest-runner:processResources NO-SOURCE
> Task :qa:remote-clusters:forbiddenApisResources
> Task :qa:remote-clusters:forbiddenPatterns
> Task :qa:remote-clusters:licenseHeaders
> Task :test:logger-usage:processResources NO-SOURCE
> Task :libs:grok:processResources
> Task :qa:remote-clusters:testingConventions UP-TO-DATE
> Task :qa:remote-clusters:copyNodeKeyMaterial FAILED
> Task :spotlessInternalRegisterDependencies
> Task :test:framework:processResources
> Task :libs:plugin-api:compileJava
> Task :libs:logging:compileJava
> Task :libs:entitlement:bridge:compileJava
> Task :libs:secure-sm:compileJava
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
> Task :test:logger-usage:compileJava
> Task :qa:remote-clusters:spotlessJava
> Task :libs:grok:compileJava
> Task :libs:geo:compileJava
> Task :client:rest:compileJava
> Task :qa:remote-clusters:checkstyleTest
[Incubating] Problems report is available at: file:///Users/rene/dev/elastic/elasticsearch/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/rene/dev/elastic/elasticsearch/qa/remote-clusters/build.gradle' line: 27
* What went wrong:
Execution failed for task ':qa:remote-clusters:copyNodeKeyMaterial'.
> Cannot reference a Gradle script object from a Groovy closure as these are not supported with the configuration cache.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1m 4s
45 actionable tasks: 40 executed, 5 from cache
Configuration cache entry stored.

View file

@ -11,11 +11,11 @@ apply plugin: 'elasticsearch.base-internal-es-plugin'
apply plugin: 'elasticsearch.legacy-java-rest-test' apply plugin: 'elasticsearch.legacy-java-rest-test'
esplugin { esplugin {
name 'system-indices-qa' name = 'system-indices-qa'
description 'Plugin for performing QA of system indices' description = 'Plugin for performing QA of system indices'
classname 'org.elasticsearch.system.indices.SystemIndicesQA' classname ='org.elasticsearch.system.indices.SystemIndicesQA'
licenseFile rootProject.file('licenses/AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('licenses/AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
testClusters.configureEach { testClusters.configureEach {

View file

@ -15,7 +15,7 @@ apply plugin: 'elasticsearch.internal-test-artifact'
publishing { publishing {
publications { publications {
elastic { elastic {
artifactId 'elasticsearch' artifactId = 'elasticsearch'
} }
} }
} }

View file

@ -13,8 +13,8 @@ apply plugin: 'elasticsearch.internal-java-rest-test'
apply plugin: 'elasticsearch.internal-es-plugin' apply plugin: 'elasticsearch.internal-es-plugin'
esplugin { esplugin {
description 'Apm integration plugin' description = 'Apm integration plugin'
classname 'org.elasticsearch.test.apmintegration.ApmIntegrationPlugin' classname ='org.elasticsearch.test.apmintegration.ApmIntegrationPlugin'
} }
// let the javaRestTest see the classpath of main // let the javaRestTest see the classpath of main

View file

@ -11,8 +11,8 @@ subprojects {
apply plugin: 'elasticsearch.base-internal-es-plugin' apply plugin: 'elasticsearch.base-internal-es-plugin'
esplugin { esplugin {
name it.name name = it.name
licenseFile rootProject.file('licenses/AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt') licenseFile = rootProject.file('licenses/AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt') noticeFile = rootProject.file('NOTICE.txt')
} }
} }

View file

@ -14,8 +14,8 @@ tasks.named('yamlRestTest').configure {
} }
esplugin { esplugin {
description 'A test module that allows to delay aggregations on shards with a configurable time' description = 'A test module that allows to delay aggregations on shards with a configurable time'
classname 'org.elasticsearch.test.delayedshard.DelayedShardAggregationPlugin' classname ='org.elasticsearch.test.delayedshard.DelayedShardAggregationPlugin'
} }
restResources { restResources {

View file

@ -13,8 +13,8 @@ apply plugin: 'elasticsearch.internal-java-rest-test'
apply plugin: 'elasticsearch.internal-es-plugin' apply plugin: 'elasticsearch.internal-es-plugin'
esplugin { esplugin {
description 'Die with dignity plugin' description = 'Die with dignity plugin'
classname 'org.elasticsearch.test.diewithdignity.DieWithDignityPlugin' classname ='org.elasticsearch.test.diewithdignity.DieWithDignityPlugin'
} }
// let the javaRestTest see the classpath of main // let the javaRestTest see the classpath of main

View file

@ -14,8 +14,8 @@ tasks.named('yamlRestTest').configure {
} }
esplugin { esplugin {
description 'A test module that exposes a way to simulate search shard failures and warnings' description = 'A test module that exposes a way to simulate search shard failures and warnings'
classname 'org.elasticsearch.test.errorquery.ErrorQueryPlugin' classname ='org.elasticsearch.test.errorquery.ErrorQueryPlugin'
} }
restResources { restResources {

View file

@ -14,8 +14,8 @@ apply plugin: 'elasticsearch.internal-test-artifact'
group = 'org.elasticsearch.plugin' group = 'org.elasticsearch.plugin'
esplugin { esplugin {
description 'A test module that can trigger out of memory' description = 'A test module that can trigger out of memory'
classname 'org.elasticsearch.test.esql.heap_attack.HeapAttackPlugin' classname ='org.elasticsearch.test.esql.heap_attack.HeapAttackPlugin'
} }
tasks.named('javaRestTest') { tasks.named('javaRestTest') {

View file

@ -14,8 +14,8 @@ apply plugin: 'elasticsearch.internal-test-artifact'
group = 'org.elasticsearch.plugin' group = 'org.elasticsearch.plugin'
esplugin { esplugin {
description 'A test module that can trigger A JVM crash' description = 'A test module that can trigger A JVM crash'
classname 'org.elasticsearch.test.jvm_crash.JvmCrashPlugin' classname ='org.elasticsearch.test.jvm_crash.JvmCrashPlugin'
} }
tasks.named('javaRestTest') { tasks.named('javaRestTest') {

View file

@ -8,8 +8,8 @@
*/ */
esplugin { esplugin {
description 'A test module that simulates read latencies from an object-store based repository' description = 'A test module that simulates read latencies from an object-store based repository'
classname 'org.elasticsearch.test.simulatedlatencyrepo.LatencySimulatingRepositoryPlugin' classname ='org.elasticsearch.test.simulatedlatencyrepo.LatencySimulatingRepositoryPlugin'
} }
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'

View file

@ -22,7 +22,7 @@ configurations {
dependencies { dependencies {
compileOnly("org.apache.hadoop:hadoop-minicluster:2.8.5") compileOnly("org.apache.hadoop:hadoop-minicluster:2.8.5")
api("com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}") { api("com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}") {
transitive false transitive = false
} }
compileOnly "junit:junit:${versions.junit}" compileOnly "junit:junit:${versions.junit}"

View file

@ -10,8 +10,8 @@ subprojects {
// see: https://wiki.shibboleth.net/confluence/display/DEV/Use+of+Maven+Central // see: https://wiki.shibboleth.net/confluence/display/DEV/Use+of+Maven+Central
repositories { repositories {
maven { maven {
name "opensaml" name = "opensaml"
url "https://artifactory.elstc.co/artifactory/shibboleth-releases/" url = "https://artifactory.elstc.co/artifactory/shibboleth-releases/"
content { content {
includeGroup "org.opensaml" includeGroup "org.opensaml"
includeGroup "net.shibboleth.utilities" includeGroup "net.shibboleth.utilities"

View file

@ -9,9 +9,9 @@ apply plugin: 'elasticsearch.internal-es-plugin'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
name 'x-pack-analytics' name = 'x-pack-analytics'
description 'Elasticsearch Expanded Pack Plugin - Analytics' description = 'Elasticsearch Expanded Pack Plugin - Analytics'
classname 'org.elasticsearch.xpack.analytics.AnalyticsPlugin' classname ='org.elasticsearch.xpack.analytics.AnalyticsPlugin'
extendedPlugins = ['x-pack-core'] extendedPlugins = ['x-pack-core']
} }
base { base {

View file

@ -9,9 +9,9 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
name 'x-pack-apm-data' name = 'x-pack-apm-data'
description 'The APM plugin defines APM data streams and ingest pipelines.' description = 'The APM plugin defines APM data streams and ingest pipelines.'
classname 'org.elasticsearch.xpack.apmdata.APMPlugin' classname = 'org.elasticsearch.xpack.apmdata.APMPlugin'
extendedPlugins = ['x-pack-core'] extendedPlugins = ['x-pack-core']
} }

View file

@ -1,9 +1,9 @@
apply plugin: 'elasticsearch.internal-es-plugin' apply plugin: 'elasticsearch.internal-es-plugin'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
name 'x-pack-async-search' name = 'x-pack-async-search'
description 'A module which allows to track the progress of a search asynchronously.' description = 'A module which allows to track the progress of a search asynchronously.'
classname 'org.elasticsearch.xpack.search.AsyncSearch' classname ='org.elasticsearch.xpack.search.AsyncSearch'
extendedPlugins = ['x-pack-core'] extendedPlugins = ['x-pack-core']
} }
base { base {

View file

@ -11,9 +11,9 @@ apply plugin: 'elasticsearch.legacy-yaml-rest-test'
apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test' apply plugin: 'elasticsearch.legacy-yaml-rest-compat-test'
esplugin { esplugin {
name 'x-pack-test-deprecated-query' name = 'x-pack-test-deprecated-query'
description 'Deprecated query plugin' description = 'Deprecated query plugin'
classname 'org.elasticsearch.query.DeprecatedQueryPlugin' classname ='org.elasticsearch.query.DeprecatedQueryPlugin'
} }
dependencies { dependencies {

View file

@ -1,9 +1,9 @@
apply plugin: 'elasticsearch.internal-es-plugin' apply plugin: 'elasticsearch.internal-es-plugin'
esplugin { esplugin {
name 'x-pack-async' name = 'x-pack-async'
description 'A module which handles common async operations' description = 'A module which handles common async operations'
classname 'org.elasticsearch.xpack.async.AsyncResultsIndexPlugin' classname ='org.elasticsearch.xpack.async.AsyncResultsIndexPlugin'
extendedPlugins = ['x-pack-core'] extendedPlugins = ['x-pack-core']
} }
base { base {

View file

@ -2,12 +2,12 @@ apply plugin: 'elasticsearch.internal-es-plugin'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
esplugin { esplugin {
name 'x-pack-autoscaling' name = 'x-pack-autoscaling'
description 'Elasticsearch Expanded Pack Plugin - Autoscaling' description = 'Elasticsearch Expanded Pack Plugin - Autoscaling'
classname 'org.elasticsearch.xpack.autoscaling.Autoscaling' classname ='org.elasticsearch.xpack.autoscaling.Autoscaling'
extendedPlugins = ['x-pack-core'] extendedPlugins = ['x-pack-core']
hasNativeController false hasNativeController =false
requiresKeystore true requiresKeystore =true
} }
base { base {
archivesName = 'x-pack-autoscaling' archivesName = 'x-pack-autoscaling'

View file

@ -9,9 +9,9 @@ apply plugin: 'elasticsearch.internal-es-plugin'
apply plugin: 'elasticsearch.internal-test-artifact' apply plugin: 'elasticsearch.internal-test-artifact'
esplugin { esplugin {
name 'blob-cache' name = 'blob-cache'
description 'Provides a blob store cache' description = 'Provides a blob store cache'
classname 'org.elasticsearch.blobcache.BlobCachePlugin' classname = 'org.elasticsearch.blobcache.BlobCachePlugin'
} }
dependencies { dependencies {

View file

@ -2,11 +2,11 @@ apply plugin: 'elasticsearch.internal-es-plugin'
apply plugin: 'elasticsearch.internal-cluster-test' apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'elasticsearch.internal-java-rest-test' apply plugin: 'elasticsearch.internal-java-rest-test'
esplugin { esplugin {
name 'x-pack-ccr' name = 'x-pack-ccr'
description 'Elasticsearch Expanded Pack Plugin - CCR' description = 'Elasticsearch Expanded Pack Plugin - CCR'
classname 'org.elasticsearch.xpack.ccr.Ccr' classname ='org.elasticsearch.xpack.ccr.Ccr'
hasNativeController false hasNativeController =false
requiresKeystore true requiresKeystore =true
extendedPlugins = ['x-pack-core'] extendedPlugins = ['x-pack-core']
} }
base { base {

Some files were not shown because too many files have changed in this diff Show more