MINOR: build dependecies - version updates (#20656)
Extends from: #19513
details:
- scala-logging_2.13: Updated from 3.9.5 to 3.9.6
- org.owasp.dependencycheck: Updated from 12.1.3 to 12.1.8
- org.scoverage: Updated from 8.0.3 to 8.1
- com.diffplug.spotless: Updated from 7.2.1 to 8.0.0
- scalafmt: Updated from 3.7.14 to 3.10.0
- grgit: Updated from 4.1.1 to 5.3.3
- jacoco: Updated from 0.8.13 to 0.8.14
- scoverage: Updated from 2.0.11 to 2.3.0
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
diff --git a/LICENSE-binary b/LICENSE-binary
index 91c8865..6dcb7bf 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -249,7 +249,7 @@
- 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 cf2d021..ecb8297 100644
--- a/build.gradle
+++ b/build.gradle
@@ -33,14 +33,14 @@
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 @@
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 5453304..a4a2973 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 b85dc87..91f9e10 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -61,17 +61,17 @@
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 @@
// 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",