From 0aa049ad4b57d85d34e005c585931c0293a80b6d Mon Sep 17 00:00:00 2001 From: Rob Rudin Date: Mon, 13 Oct 2025 10:40:09 -0400 Subject: [PATCH] MLE-24717 Bumping logback Fixed a couple Gradle warnings too. --- marklogic-spark-connector/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/marklogic-spark-connector/build.gradle b/marklogic-spark-connector/build.gradle index 0541a077..7762d65b 100644 --- a/marklogic-spark-connector/build.gradle +++ b/marklogic-spark-connector/build.gradle @@ -4,7 +4,7 @@ plugins { } configurations { - all { + configureEach { resolutionStrategy.eachDependency { DependencyResolveDetails details -> // These all impact Spark and its dependencies, but not the published connector as the connector does not contain // any Spark libraries. @@ -125,7 +125,7 @@ dependencies { // marklogic-junit5 still needs spring-test, but we want the 6 version to minimize vulnerabilities. testImplementation "org.springframework:spring-test:6.2.11" - testImplementation "ch.qos.logback:logback-classic:1.5.18" + testImplementation "ch.qos.logback:logback-classic:1.5.19" testImplementation "org.skyscreamer:jsonassert:1.5.3" testImplementation "org.apache.tika:tika-parser-microsoft-module:${tikaVersion}" @@ -152,7 +152,7 @@ java { } // Allows for identifying compiler warnings and treating them as errors. -tasks.withType(JavaCompile) { +tasks.withType(JavaCompile).configureEach { options.compilerArgs += ["-Xlint:unchecked", "-Xlint:deprecation", "-Werror"] options.deprecation = true options.warnings = true