From e11ac644e0834b8a7f06d1318042388d05e9a6da Mon Sep 17 00:00:00 2001 From: dejan2609 Date: Tue, 7 Oct 2025 16:47:50 +0200 Subject: [PATCH] MINOR: build dependecies - version updates details: - `grgit`: 4.1.1 -->> 5.3.3 - `jacoco`: 0.8.13 -->> 0.8.14 - `scala-logging`: 3.9.5 -->> 3.9.6 - `scalafmt`: 3.7.14 -->> 3.10.0 - `org.owasp.dependencycheck` gradle plugin: 12.1.3 -->> 12.1.8 - `com.diffplug.spotless` gradle plugin: 7.2.1 -->> 8.0.0 - Scala coverage: - scoverage: 2.0.11 -->> 2.3.0 - Scala version for scoverage: 2.13.9 -->> 2.13.16 (i.e. `org.scoverage:scalac-scoverage-plugin_2.13.16:2.3.0` will be used) - `org.scoverage` gradle plugin: 8.0.3 -->> 8.1 --- LICENSE-binary | 2 +- build.gradle | 10 ++++------ checkstyle/.scalafmt.conf | 2 +- gradle/dependencies.gradle | 10 +++++----- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/LICENSE-binary b/LICENSE-binary index 91c8865931ea2..6dcb7bfa5c42d 100644 --- a/LICENSE-binary +++ b/LICENSE-binary @@ -249,7 +249,7 @@ License Version 2.0: - plexus-utils-3.5.1 - rocksdbjni-10.1.3 - scala-library-2.13.17 -- scala-logging_2.13-3.9.5 +- scala-logging_2.13-3.9.6 - scala-reflect-2.13.17 - snappy-java-1.1.10.7 - snakeyaml-2.4 diff --git a/build.gradle b/build.gradle index cf2d021ddfc78..ecb829763bb6b 100644 --- a/build.gradle +++ b/build.gradle @@ -33,14 +33,14 @@ plugins { id 'idea' id 'jacoco' id 'java-library' - id 'org.owasp.dependencycheck' version '12.1.3' + id 'org.owasp.dependencycheck' version '12.1.8' id 'org.nosphere.apache.rat' version "0.8.1" id "io.swagger.core.v3.swagger-gradle-plugin" version "${swaggerVersion}" id "com.github.spotbugs" version '6.2.5' apply false - id 'org.scoverage' version '8.0.3' apply false + id 'org.scoverage' version '8.1' apply false id 'com.gradleup.shadow' version '8.3.9' apply false - id 'com.diffplug.spotless' version "7.2.1" + id 'com.diffplug.spotless' version "8.0.0" } ext { @@ -1129,9 +1129,7 @@ project(':core') { if (userEnableTestCoverage) { scoverage { scoverageVersion = versions.scoverage - if (versions.baseScala == '2.13') { - scoverageScalaVersion = '2.13.9' // there's no newer 2.13 artifact, org.scoverage:scalac-scoverage-plugin_2.13.9:2.0.11 is the latest as of now - } + scoverageScalaVersion = '2.13.16' // `org.scoverage:scalac-scoverage-plugin_2.13.16:2.3.0` is the latest as of now reportDir = file("${layout.buildDirectory.get().asFile.path}/scoverage") highlighting = false minimumRate = 0.0 diff --git a/checkstyle/.scalafmt.conf b/checkstyle/.scalafmt.conf index 54533046741aa..a4a297355834c 100644 --- a/checkstyle/.scalafmt.conf +++ b/checkstyle/.scalafmt.conf @@ -12,7 +12,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -version = 3.7.14 +version = 3.10.0 runner.dialect = scala213 docstrings.style = Asterisk docstrings.wrap = false diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index b85dc87d78fac..91f9e1095c393 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -61,17 +61,17 @@ versions += [ commonsValidator: "1.10.0", classgraph: "4.8.179", gradle: "9.1.0", - grgit: "4.1.1", + grgit: "5.3.3", httpclient: "4.5.14", jackson: "2.19.0", - jacoco: "0.8.13", + jacoco: "0.8.14", javassist: "3.30.2-GA", jetty: "12.0.22", jersey: "3.1.10", jline: "3.30.4", jmh: "1.37", hamcrest: "3.0", - scalaLogging: "3.9.5", + scalaLogging: "3.9.6", jaxAnnotation: "1.3.2", jaxb: "2.3.1", jakartaRs: "3.1.0", @@ -119,8 +119,8 @@ versions += [ // When updating the scalafmt version please also update the version field in checkstyle/.scalafmt.conf. scalafmt now // has the version field as mandatory in its configuration, see // https://github.com/scalameta/scalafmt/releases/tag/v3.1.0. - scalafmt: "3.7.14", - scoverage: "2.0.11", + scalafmt: "3.10.0", + scoverage: "2.3.0", slf4j: "1.7.36", snappy: "1.1.10.7", spotbugs: "4.9.4",