diff --git a/build.gradle b/build.gradle index 26da3f336..09b9cc4b1 100644 --- a/build.gradle +++ b/build.gradle @@ -147,6 +147,7 @@ repositories { configurations { zipArchive + secureIntegTestPluginArchive } dependencies { @@ -162,7 +163,7 @@ dependencies { // ZipArchive dependencies used for integration tests zipArchive group: 'org.opensearch.plugin', name:'opensearch-ml-plugin', version: "${opensearch_build}" - zipArchive group: 'org.opensearch.plugin', name:'opensearch-security', version: "${opensearch_build}" + secureIntegTestPluginArchive group: 'org.opensearch.plugin', name:'opensearch-security', version: "${opensearch_build}" configurations.all { resolutionStrategy { @@ -183,7 +184,7 @@ ext{ configureSecurityPlugin = { OpenSearchCluster cluster -> // Retrieve Security Plugin Zip from zipArchive - configurations.zipArchive.asFileTree.each { + configurations.secureIntegTestPluginArchive.asFileTree.each { if(it.name.contains("opensearch-security")) { cluster.plugin(provider(new Callable(){ @Override