diff --git a/CHANGELOG.md b/CHANGELOG.md index c438d9695..cc496e421 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Documentation ### Maintenance - Added support for jdk-21 ([#500](https://github.com/opensearch-project/neural-search/pull/500))) +- Update spotless and eclipse dependencies ([#589](https://github.com/opensearch-project/neural-search/pull/589)) ### Refactoring - Deprecate the `max_token_score` field in `neural_sparse` query clause ([#478](https://github.com/opensearch-project/neural-search/pull/478)) - 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 a13a8ea40..8a998fa51 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 + } + } } }