From 724b15beb843e67e4151b538ebb3f8d134e9f99c Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Sat, 18 Jan 2025 04:03:58 -0500 Subject: [PATCH] Fixes integrationTestRuntimeClasspath task dependency conflict Signed-off-by: Darshit Chanpura --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index ec6a28a50c..7c0d55dc95 100644 --- a/build.gradle +++ b/build.gradle @@ -402,6 +402,7 @@ opensearchplugin { name 'opensearch-security' description 'Provide access control related features for OpenSearch' classname 'org.opensearch.security.OpenSearchSecurityPlugin' + extendedPlugins = ['lang-painless'] } // This requires an additional Jar not published as part of build-tools @@ -503,6 +504,8 @@ configurations { force "org.hamcrest:hamcrest:2.2" force "org.mockito:mockito-core:5.15.2" force "net.bytebuddy:byte-buddy:1.15.11" + force "org.ow2.asm:asm:9.7.1" + force "com.google.j2objc:j2objc-annotations:3.0.0" } } @@ -556,6 +559,7 @@ allprojects { } integrationTestImplementation 'org.slf4j:slf4j-api:2.0.12' integrationTestImplementation 'com.selectivem.collections:special-collections-complete:1.4.0' + integrationTestImplementation "org.opensearch.plugin:lang-painless:${opensearch_version}" } } @@ -628,6 +632,7 @@ check.dependsOn integrationTest dependencies { implementation project(path: ":opensearch-resource-sharing-spi") + implementation "org.opensearch.plugin:lang-painless:${opensearch_version}" implementation "org.opensearch.plugin:transport-netty4-client:${opensearch_version}" implementation "org.opensearch.client:opensearch-rest-high-level-client:${opensearch_version}" implementation "org.apache.httpcomponents.client5:httpclient5-cache:${versions.httpclient5}"