From bc6d71fc774e229ec27c586d726e6af185495011 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 11:45:44 -0700 Subject: [PATCH] Version bump for spotlss and apache commons (#400) (#401) Spotless fails in 2.x branch with old version with following error `Caused by: java.lang.NoSuchMethodError: 'long com.sun.tools.javac.tree.DCTree$DCReference.getSourcePosition(com.sun.tools.javac.tree.DCTree$DCDocComment)'` Signed-off-by: Heemin Kim (cherry picked from commit cd3e21117880be6ce2c3e6be47c2023f33b29dd0) Co-authored-by: Heemin Kim --- CHANGELOG.md | 1 + build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b243bd45..8f8f73fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,4 +28,5 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), * Refactor LifecycleComponent package path ([#377](https://github.com/opensearch-project/geospatial/pull/377)) * [Refactor] Strings utility methods to core library ([#379](https://github.com/opensearch-project/geospatial/pull/379)) * Fixed compilation errors after refactoring in core foundation classes ([#380](https://github.com/opensearch-project/geospatial/pull/380)) +* Version bump for spotlss and apache commons([#400](https://github.com/opensearch-project/geospatial/pull/400)) ### Refactoring diff --git a/build.gradle b/build.gradle index d7919432..f8ba7133 100644 --- a/build.gradle +++ b/build.gradle @@ -74,7 +74,7 @@ buildscript { dependencies { classpath "${opensearch_group}.gradle:build-tools:${opensearch_version}" - classpath "com.diffplug.spotless:spotless-plugin-gradle:5.6.1" + classpath "com.diffplug.spotless:spotless-plugin-gradle:6.3.0" classpath "io.freefair.gradle:lombok-plugin:6.4.3" } } @@ -158,7 +158,7 @@ dependencies { yamlRestTestRuntimeOnly "org.apache.logging.log4j:log4j-core:${versions.log4j}" testImplementation "org.hamcrest:hamcrest:${versions.hamcrest}" testImplementation 'org.json:json:20230227' - implementation "org.apache.commons:commons-lang3:3.12.0" + implementation "org.apache.commons:commons-lang3:3.13.0" implementation "org.locationtech.spatial4j:spatial4j:${versions.spatial4j}" implementation "org.locationtech.jts:jts-core:${versions.jts}" implementation "org.apache.commons:commons-csv:1.10.0"