From 9266d99109f6bdedaaef42e9934e22196f224d05 Mon Sep 17 00:00:00 2001 From: Ryan Bogan Date: Mon, 5 Feb 2024 15:04:04 -0800 Subject: [PATCH] Update spotless and eclipse dependencies (#589) * Update spotless and eclipse dependencies Signed-off-by: Ryan Bogan * Add changelog Signed-off-by: Ryan Bogan * Add force resolution for eclipse resources Signed-off-by: Ryan Bogan * Use latest resource version Signed-off-by: Ryan Bogan --------- Signed-off-by: Ryan Bogan Signed-off-by: yuye-aws --- CHANGELOG.md | 1 + build.gradle | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fd1661c8..99335681d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,5 +31,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Distribution bundle bwc tests ([#579])(https://github.com/opensearch-project/neural-search/pull/579) ### Documentation ### Maintenance +- Update spotless and eclipse dependencies ([#589](https://github.com/opensearch-project/neural-search/pull/589)) ### Refactoring - Added spotless check in the build ([#515](https://github.com/opensearch-project/neural-search/pull/515)) diff --git a/build.gradle b/build.gradle index 6fbe667f8..496edad4f 100644 --- a/build.gradle +++ b/build.gradle @@ -40,8 +40,15 @@ buildscript { dependencies { classpath "${opensearch_group}.gradle:build-tools:${opensearch_version}" - classpath "com.diffplug.spotless:spotless-plugin-gradle:6.23.2" + classpath "com.diffplug.spotless:spotless-plugin-gradle:6.25.0" classpath "io.freefair.gradle:lombok-plugin:8.4" + + configurations.all { + resolutionStrategy { + force("org.eclipse.platform:org.eclipse.core.runtime:4.29.0") // CVE for < 4.29 + force("org.eclipse.platform:org.eclipse.core.resources:4.20.0") // CVE for < 4.20 + } + } } }