diff --git a/backend/build.gradle b/backend/build.gradle index 74a7505d..c6e5d7b9 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -3,13 +3,13 @@ plugins { id "idea" id "org.springframework.boot" version "3.5.13" id "io.spring.dependency-management" version "1.1.7" - id "io.freefair.lombok" version "9.2.0" - id "com.github.spotbugs" version "6.5.0" - id "com.github.ben-manes.versions" version "0.53.0" + id "io.freefair.lombok" version "9.5.0" + id "com.github.spotbugs" version "6.5.4" + id "com.github.ben-manes.versions" version "0.54.0" id "org.owasp.dependencycheck" version "12.2.0" - id "com.diffplug.spotless" version "8.4.0" + id "com.diffplug.spotless" version "8.5.1" id "info.solidsoft.pitest" version "1.19.0" - id "org.openrewrite.rewrite" version "7.30.0" + id "org.openrewrite.rewrite" version "7.32.2" } spotless { @@ -21,13 +21,13 @@ spotless { ext { javaUuidGeneratorVersion = "5.2.0" logstashVersion = "9.0" - caffeineVersion = "3.2.3" + caffeineVersion = "3.2.4" mockServerVersion = "5.15.0" - archUnitVersion = "1.4.1" + archUnitVersion = "1.4.2" jUnit5PitestVersion = "1.2.3" springDataSqliteVersion = "1.4.0" - sqliteJdbcVersion = "3.53.0.0" - apacheHttpClient5Version = "5.6" + sqliteJdbcVersion = "3.53.1.0" + apacheHttpClient5Version = "5.6.1" } repositories { @@ -51,7 +51,7 @@ dependencies { implementation "net.logstash.logback:logstash-logback-encoder:${logstashVersion}" implementation "com.github.ben-manes.caffeine:caffeine:${caffeineVersion}" implementation "org.apache.httpcomponents.client5:httpclient5:${apacheHttpClient5Version}" - implementation 'tools.jackson.core:jackson-core:3.1.2' + implementation 'tools.jackson.core:jackson-core:3.1.3' testImplementation("org.springframework.boot:spring-boot-starter-test") { exclude group: "org.junit.vintage", module: "junit-vintage-engine" diff --git a/backend/gradle/wrapper/gradle-wrapper.jar b/backend/gradle/wrapper/gradle-wrapper.jar index d997cfc6..b1b8ef56 100644 Binary files a/backend/gradle/wrapper/gradle-wrapper.jar and b/backend/gradle/wrapper/gradle-wrapper.jar differ diff --git a/backend/gradle/wrapper/gradle-wrapper.properties b/backend/gradle/wrapper/gradle-wrapper.properties index 8e61ef12..bd82f36b 100644 --- a/backend/gradle/wrapper/gradle-wrapper.properties +++ b/backend/gradle/wrapper/gradle-wrapper.properties @@ -1,8 +1,10 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=2ab2958f2a1e51120c326cad6f385153bb11ee93b3c216c5fccebfdfbb7ec6cb -distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +distributionSha256Sum=bafc141b619ad6350fd975fc903156dd5c151998cc8b058e8c1044ab5f7b031f +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/backend/gradlew b/backend/gradlew index 739907df..b9bb139f 100755 --- a/backend/gradlew +++ b/backend/gradlew @@ -57,7 +57,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/2d6327017519d23b96af35865dc997fcb544fb40/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/3d91ce3b8caaf77ad09f381f43615b715b53f72c/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/. diff --git a/backend/gradlew.bat b/backend/gradlew.bat index e509b2dd..aa5f10b0 100644 --- a/backend/gradlew.bat +++ b/backend/gradlew.bat @@ -23,8 +23,8 @@ @rem @rem ########################################################################## -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal +@rem Set local scope for the variables, and ensure extensions are enabled +setlocal EnableExtensions set DIRNAME=%~dp0 if "%DIRNAME%"=="" set DIRNAME=. @@ -51,7 +51,7 @@ echo. 1>&2 echo Please set the JAVA_HOME variable in your environment to match the 1>&2 echo location of your Java installation. 1>&2 -goto fail +"%COMSPEC%" /c exit 1 :findJavaFromJavaHome set JAVA_HOME=%JAVA_HOME:"=% @@ -65,7 +65,7 @@ echo. 1>&2 echo Please set the JAVA_HOME variable in your environment to match the 1>&2 echo location of your Java installation. 1>&2 -goto fail +"%COMSPEC%" /c exit 1 :execute @rem Setup the command line @@ -73,21 +73,10 @@ goto fail @rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* +@rem endlocal doesn't take effect until after the line is parsed and variables are expanded +@rem which allows us to clear the local environment before executing the java command +endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +:exitWithErrorLevel +@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts +"%COMSPEC%" /c exit %ERRORLEVEL%