MINOR: Update dependencies (#15404)

Updates minor versions for our dependencies and build tool

- Jackson from 2.16.0 to 2.16.1
- JUnit from 5.10.0 to 5.10.2
  https://junit.org/junit5/docs/5.10.2/release-notes/ and https://junit.org/junit5/docs/5.10.1/release-notes/
- Mockito from 5.8.0 to 5.10.0 (only if JDK 11 or higher)
  https://github.com/mockito/mockito/releases/tag/v5.10.0 and https://github.com/mockito/mockito/releases/tag/v5.9.0
- Gradle from 8.5 to 8.6 https://docs.gradle.org/8.6/release-notes.html

Reviewers: Divij Vaidya <diviv@amazon.com>

Signed-off-by: Josep Prat <josep.prat@aiven.io>
This commit is contained in:
Josep Prat 2024-02-22 12:11:51 +01:00
parent 069073aef8
commit d9658aeaae
No known key found for this signature in database
GPG Key ID: C115EE34A91F9AC3
4 changed files with 23 additions and 23 deletions

View File

@ -216,16 +216,16 @@ commons-lang3-3.8.1
commons-logging-1.2
commons-validator-1.7
error_prone_annotations-2.10.0
jackson-annotations-2.16.0
jackson-core-2.16.0
jackson-databind-2.16.0
jackson-dataformat-csv-2.16.0
jackson-datatype-jdk8-2.16.0
jackson-jaxrs-base-2.16.0
jackson-jaxrs-json-provider-2.16.0
jackson-module-jaxb-annotations-2.16.0
jackson-module-scala_2.13-2.16.0
jackson-module-scala_2.12-2.16.0
jackson-annotations-2.16.1
jackson-core-2.16.1
jackson-databind-2.16.1
jackson-dataformat-csv-2.16.1
jackson-datatype-jdk8-2.16.1
jackson-jaxrs-base-2.16.1
jackson-jaxrs-json-provider-2.16.1
jackson-module-jaxb-annotations-2.16.1
jackson-module-scala_2.13-2.16.1
jackson-module-scala_2.12-2.16.1
jakarta.validation-api-2.0.2
javassist-3.29.2-GA
jetty-client-9.4.53.v20231009

View File

@ -61,7 +61,7 @@ String mockitoVersion
if (scalaVersion == "2.12")
mockitoVersion = "4.9.0"
else if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11))
mockitoVersion = "5.8.0"
mockitoVersion = "5.10.0"
else
mockitoVersion = "4.11.0"
@ -100,10 +100,10 @@ versions += [
commonsCli: "1.4",
commonsValidator: "1.7",
dropwizardMetrics: "4.1.12.1",
gradle: "8.5",
gradle: "8.6",
grgit: "4.1.1",
httpclient: "4.5.14",
jackson: "2.16.0",
jackson: "2.16.1",
jacoco: "0.8.10",
javassist: "3.29.2-GA",
jetty: "9.4.53.v20231009",
@ -118,7 +118,7 @@ versions += [
jfreechart: "1.0.0",
jopt: "5.0.4",
jose4j: "0.9.4",
junit: "5.10.0",
junit: "5.10.2",
jqwik: "1.7.4",
kafka_0100: "0.10.0.1",
kafka_0101: "0.10.1.1",

View File

@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=c16d517b50dd28b3f5838f0e844b7520b8f1eb610f2f29de7e4e04a1b7c9c79b
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
distributionSha256Sum=85719317abd2112f021d4f41f09ec370534ba288432065f4b477b6a3b652910d
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

14
gradlew vendored
View File

@ -158,7 +158,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
@ -166,7 +166,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
@ -215,11 +215,11 @@ fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \