diff --git a/build.gradle b/build.gradle index 13e1c9e82..beb7c066e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,24 +1,24 @@ plugins { id 'com.adarshr.test-logger' version '4.0.0' - id 'org.ajoberstar.grgit' version '5.2.2' - id "com.github.ben-manes.versions" version '0.51.0' + id 'org.ajoberstar.grgit' version '5.3.0' + id "com.github.ben-manes.versions" version '0.52.0' id 'ru.vyarus.mkdocs' version '4.0.1' apply false - id "com.github.spotbugs" version "6.0.12" + id "com.github.spotbugs" version "6.1.7" id 'com.diffplug.spotless' version '7.0.2' id 'io.github.gradle-nexus.publish-plugin' version '2.0.0' } ext{ - commercetoolsJavaSdkV2Version = '17.28.0' + commercetoolsJavaSdkV2Version = '17.30.0' mockitoJunitJupiterVersion = '5.16.1' jupiterApiVersion = '5.12.1' jupiterPlatformVersion = '1.12.1' - assertjVersion = '3.26.3' - pmdVersion = '7.7.0' + assertjVersion = '3.27.3' + pmdVersion = '7.12.0' jacocoVersion = '0.8.12' - caffeineVersion = '3.1.8' + caffeineVersion = '3.2.0' nexusStagingPluginVersion = '0.22.0' - commonTextVersion = '1.12.0' + commonTextVersion = '1.13.0' } apply from: "$rootDir/gradle-scripts/repositories.gradle" @@ -47,8 +47,8 @@ dependencies { implementation "com.github.ben-manes.caffeine:caffeine:${caffeineVersion}" implementation "org.apache.commons:commons-text:${commonTextVersion}" api "com.commercetools.sdk:commercetools-sdk-java-api:${commercetoolsJavaSdkV2Version}" - api 'commons-io:commons-io:2.16.1' - api 'commons-codec:commons-codec:1.17.0' + api 'commons-io:commons-io:2.18.0' + api 'commons-codec:commons-codec:1.18.0' api 'com.google.code.findbugs:annotations:3.0.1' api 'com.neovisionaries:nv-i18n:1.29' testImplementation "org.mockito:mockito-junit-jupiter:${mockitoJunitJupiterVersion}" @@ -58,5 +58,5 @@ dependencies { testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${jupiterApiVersion}" testRuntimeOnly "org.junit.platform:junit-platform-launcher:${jupiterPlatformVersion}" testImplementation "org.assertj:assertj-core:${assertjVersion}" - testImplementation 'com.github.spotbugs:spotbugs-annotations:4.8.4' + testImplementation 'com.github.spotbugs:spotbugs-annotations:4.9.3' } diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index e6441136f..9bbc975c7 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b82aa23a4..37f853b1c 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index 1aa94a426..faf93008b 100755 --- a/gradlew +++ b/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -55,7 +57,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -84,7 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -203,7 +205,7 @@ fi DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' # Collect all arguments for the java command: -# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# * DEFAULT_JVM_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. diff --git a/gradlew.bat b/gradlew.bat index 7101f8e46..9b42019c7 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ##########################################################################