diff --git a/samples/durable-task-sdks/java/async-http-api/build.gradle b/samples/durable-task-sdks/java/async-http-api/build.gradle index 8a960fe8..6afae1e7 100644 --- a/samples/durable-task-sdks/java/async-http-api/build.gradle +++ b/samples/durable-task-sdks/java/async-http-api/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'org.springframework.boot' version '4.0.5' + id 'org.springframework.boot' version '4.0.6' id 'java' id 'application' } @@ -11,7 +11,7 @@ java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } -def grpcVersion = '1.80.0' +def grpcVersion = '1.81.0' base { archivesName = 'durabletask-samples' } repositories { @@ -25,10 +25,10 @@ task runWebApi(type: JavaExec) { } dependencies { - implementation("com.microsoft:durabletask-client:1.8.0") - implementation("com.microsoft:durabletask-azuremanaged:1.8.0") + implementation("com.microsoft:durabletask-client:1.9.0") + implementation("com.microsoft:durabletask-azuremanaged:1.9.0") - implementation platform("org.springframework.boot:spring-boot-dependencies:4.0.5") + implementation platform("org.springframework.boot:spring-boot-dependencies:4.0.6") implementation 'org.springframework.boot:spring-boot-starter' implementation 'org.springframework.boot:spring-boot-starter-web' @@ -40,9 +40,9 @@ dependencies { implementation "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}" runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}" - implementation 'com.azure:azure-identity:1.18.2' + implementation 'com.azure:azure-identity:1.18.3' // install lombok - annotationProcessor 'org.projectlombok:lombok:1.18.44' - compileOnly 'org.projectlombok:lombok:1.18.44' + annotationProcessor 'org.projectlombok:lombok:1.18.46' + compileOnly 'org.projectlombok:lombok:1.18.46' } \ No newline at end of file diff --git a/samples/durable-task-sdks/java/async-http-api/gradle/wrapper/gradle-wrapper.jar b/samples/durable-task-sdks/java/async-http-api/gradle/wrapper/gradle-wrapper.jar index d997cfc6..b1b8ef56 100644 Binary files a/samples/durable-task-sdks/java/async-http-api/gradle/wrapper/gradle-wrapper.jar and b/samples/durable-task-sdks/java/async-http-api/gradle/wrapper/gradle-wrapper.jar differ diff --git a/samples/durable-task-sdks/java/async-http-api/gradle/wrapper/gradle-wrapper.properties b/samples/durable-task-sdks/java/async-http-api/gradle/wrapper/gradle-wrapper.properties index 5b59ea8e..743f4870 100644 --- a/samples/durable-task-sdks/java/async-http-api/gradle/wrapper/gradle-wrapper.properties +++ b/samples/durable-task-sdks/java/async-http-api/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/durable-task-sdks/java/async-http-api/gradlew b/samples/durable-task-sdks/java/async-http-api/gradlew index 739907df..b9bb139f 100755 --- a/samples/durable-task-sdks/java/async-http-api/gradlew +++ b/samples/durable-task-sdks/java/async-http-api/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/samples/durable-task-sdks/java/async-http-api/gradlew.bat b/samples/durable-task-sdks/java/async-http-api/gradlew.bat index e509b2dd..aa5f10b0 100644 --- a/samples/durable-task-sdks/java/async-http-api/gradlew.bat +++ b/samples/durable-task-sdks/java/async-http-api/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% diff --git a/samples/durable-task-sdks/java/eternal-orchestrations/build.gradle b/samples/durable-task-sdks/java/eternal-orchestrations/build.gradle index e9529d10..001b732f 100644 --- a/samples/durable-task-sdks/java/eternal-orchestrations/build.gradle +++ b/samples/durable-task-sdks/java/eternal-orchestrations/build.gradle @@ -10,7 +10,7 @@ java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } -def grpcVersion = '1.80.0' +def grpcVersion = '1.81.0' base { archivesName = 'durabletask-samples' } repositories { @@ -25,8 +25,8 @@ task runEternalOrchestration(type: JavaExec) { } dependencies { - implementation("com.microsoft:durabletask-client:1.8.0") - implementation("com.microsoft:durabletask-azuremanaged:1.8.0") + implementation("com.microsoft:durabletask-client:1.9.0") + implementation("com.microsoft:durabletask-azuremanaged:1.9.0") // Logging dependencies implementation 'ch.qos.logback:logback-classic:1.5.32' @@ -36,5 +36,5 @@ dependencies { implementation "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}" runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}" - implementation 'com.azure:azure-identity:1.18.2' + implementation 'com.azure:azure-identity:1.18.3' } \ No newline at end of file diff --git a/samples/durable-task-sdks/java/eternal-orchestrations/gradle/wrapper/gradle-wrapper.jar b/samples/durable-task-sdks/java/eternal-orchestrations/gradle/wrapper/gradle-wrapper.jar index d997cfc6..b1b8ef56 100644 Binary files a/samples/durable-task-sdks/java/eternal-orchestrations/gradle/wrapper/gradle-wrapper.jar and b/samples/durable-task-sdks/java/eternal-orchestrations/gradle/wrapper/gradle-wrapper.jar differ diff --git a/samples/durable-task-sdks/java/eternal-orchestrations/gradle/wrapper/gradle-wrapper.properties b/samples/durable-task-sdks/java/eternal-orchestrations/gradle/wrapper/gradle-wrapper.properties index 5b59ea8e..743f4870 100644 --- a/samples/durable-task-sdks/java/eternal-orchestrations/gradle/wrapper/gradle-wrapper.properties +++ b/samples/durable-task-sdks/java/eternal-orchestrations/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/durable-task-sdks/java/eternal-orchestrations/gradlew b/samples/durable-task-sdks/java/eternal-orchestrations/gradlew index 739907df..b9bb139f 100755 --- a/samples/durable-task-sdks/java/eternal-orchestrations/gradlew +++ b/samples/durable-task-sdks/java/eternal-orchestrations/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/samples/durable-task-sdks/java/eternal-orchestrations/gradlew.bat b/samples/durable-task-sdks/java/eternal-orchestrations/gradlew.bat index e509b2dd..aa5f10b0 100644 --- a/samples/durable-task-sdks/java/eternal-orchestrations/gradlew.bat +++ b/samples/durable-task-sdks/java/eternal-orchestrations/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% diff --git a/samples/durable-task-sdks/java/fan-out-fan-in/build.gradle b/samples/durable-task-sdks/java/fan-out-fan-in/build.gradle index 084bb08f..2af79da1 100644 --- a/samples/durable-task-sdks/java/fan-out-fan-in/build.gradle +++ b/samples/durable-task-sdks/java/fan-out-fan-in/build.gradle @@ -10,7 +10,7 @@ java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } -def grpcVersion = '1.80.0' +def grpcVersion = '1.81.0' base { archivesName = 'durabletask-samples' } repositories { @@ -25,8 +25,8 @@ task runFanOutFanInPattern(type: JavaExec) { } dependencies { - implementation("com.microsoft:durabletask-client:1.8.0") - implementation("com.microsoft:durabletask-azuremanaged:1.8.0") + implementation("com.microsoft:durabletask-client:1.9.0") + implementation("com.microsoft:durabletask-azuremanaged:1.9.0") // Logging dependencies implementation 'ch.qos.logback:logback-classic:1.5.32' @@ -36,5 +36,5 @@ dependencies { implementation "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}" runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}" - implementation 'com.azure:azure-identity:1.18.2' + implementation 'com.azure:azure-identity:1.18.3' } \ No newline at end of file diff --git a/samples/durable-task-sdks/java/fan-out-fan-in/gradle/wrapper/gradle-wrapper.jar b/samples/durable-task-sdks/java/fan-out-fan-in/gradle/wrapper/gradle-wrapper.jar index d997cfc6..b1b8ef56 100644 Binary files a/samples/durable-task-sdks/java/fan-out-fan-in/gradle/wrapper/gradle-wrapper.jar and b/samples/durable-task-sdks/java/fan-out-fan-in/gradle/wrapper/gradle-wrapper.jar differ diff --git a/samples/durable-task-sdks/java/fan-out-fan-in/gradle/wrapper/gradle-wrapper.properties b/samples/durable-task-sdks/java/fan-out-fan-in/gradle/wrapper/gradle-wrapper.properties index 5b59ea8e..743f4870 100644 --- a/samples/durable-task-sdks/java/fan-out-fan-in/gradle/wrapper/gradle-wrapper.properties +++ b/samples/durable-task-sdks/java/fan-out-fan-in/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/durable-task-sdks/java/fan-out-fan-in/gradlew b/samples/durable-task-sdks/java/fan-out-fan-in/gradlew index 739907df..b9bb139f 100755 --- a/samples/durable-task-sdks/java/fan-out-fan-in/gradlew +++ b/samples/durable-task-sdks/java/fan-out-fan-in/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/samples/durable-task-sdks/java/fan-out-fan-in/gradlew.bat b/samples/durable-task-sdks/java/fan-out-fan-in/gradlew.bat index e509b2dd..aa5f10b0 100644 --- a/samples/durable-task-sdks/java/fan-out-fan-in/gradlew.bat +++ b/samples/durable-task-sdks/java/fan-out-fan-in/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% diff --git a/samples/durable-task-sdks/java/function-chaining/build.gradle b/samples/durable-task-sdks/java/function-chaining/build.gradle index ef80f9b7..a84923dc 100644 --- a/samples/durable-task-sdks/java/function-chaining/build.gradle +++ b/samples/durable-task-sdks/java/function-chaining/build.gradle @@ -10,7 +10,7 @@ java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } -def grpcVersion = '1.80.0' +def grpcVersion = '1.81.0' base { archivesName = 'durabletask-samples' } repositories { @@ -25,8 +25,8 @@ task runChainingPattern(type: JavaExec) { } dependencies { - implementation("com.microsoft:durabletask-client:1.8.0") - implementation("com.microsoft:durabletask-azuremanaged:1.8.0") + implementation("com.microsoft:durabletask-client:1.9.0") + implementation("com.microsoft:durabletask-azuremanaged:1.9.0") // Logging dependencies implementation 'ch.qos.logback:logback-classic:1.5.32' @@ -36,7 +36,7 @@ dependencies { implementation "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}" runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}" - implementation 'com.azure:azure-identity:1.18.2' + implementation 'com.azure:azure-identity:1.18.3' } task runMinTest(type: JavaExec) { diff --git a/samples/durable-task-sdks/java/function-chaining/gradle/wrapper/gradle-wrapper.jar b/samples/durable-task-sdks/java/function-chaining/gradle/wrapper/gradle-wrapper.jar index d997cfc6..b1b8ef56 100644 Binary files a/samples/durable-task-sdks/java/function-chaining/gradle/wrapper/gradle-wrapper.jar and b/samples/durable-task-sdks/java/function-chaining/gradle/wrapper/gradle-wrapper.jar differ diff --git a/samples/durable-task-sdks/java/function-chaining/gradle/wrapper/gradle-wrapper.properties b/samples/durable-task-sdks/java/function-chaining/gradle/wrapper/gradle-wrapper.properties index 5b59ea8e..743f4870 100644 --- a/samples/durable-task-sdks/java/function-chaining/gradle/wrapper/gradle-wrapper.properties +++ b/samples/durable-task-sdks/java/function-chaining/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/durable-task-sdks/java/function-chaining/gradlew b/samples/durable-task-sdks/java/function-chaining/gradlew index 739907df..b9bb139f 100755 --- a/samples/durable-task-sdks/java/function-chaining/gradlew +++ b/samples/durable-task-sdks/java/function-chaining/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/samples/durable-task-sdks/java/function-chaining/gradlew.bat b/samples/durable-task-sdks/java/function-chaining/gradlew.bat index e509b2dd..aa5f10b0 100644 --- a/samples/durable-task-sdks/java/function-chaining/gradlew.bat +++ b/samples/durable-task-sdks/java/function-chaining/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% diff --git a/samples/durable-task-sdks/java/human-interaction/build.gradle b/samples/durable-task-sdks/java/human-interaction/build.gradle index e8d42da8..ee03473b 100644 --- a/samples/durable-task-sdks/java/human-interaction/build.gradle +++ b/samples/durable-task-sdks/java/human-interaction/build.gradle @@ -10,7 +10,7 @@ java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } -def grpcVersion = '1.80.0' +def grpcVersion = '1.81.0' base { archivesName = 'durabletask-samples' } repositories { @@ -26,8 +26,8 @@ task runHumanInteraction(type: JavaExec) { } dependencies { - implementation("com.microsoft:durabletask-client:1.8.0") - implementation("com.microsoft:durabletask-azuremanaged:1.8.0") + implementation("com.microsoft:durabletask-client:1.9.0") + implementation("com.microsoft:durabletask-azuremanaged:1.9.0") // Logging dependencies implementation 'ch.qos.logback:logback-classic:1.5.32' @@ -37,5 +37,5 @@ dependencies { implementation "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}" runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}" - implementation 'com.azure:azure-identity:1.18.2' + implementation 'com.azure:azure-identity:1.18.3' } \ No newline at end of file diff --git a/samples/durable-task-sdks/java/human-interaction/gradle/wrapper/gradle-wrapper.jar b/samples/durable-task-sdks/java/human-interaction/gradle/wrapper/gradle-wrapper.jar index d997cfc6..b1b8ef56 100644 Binary files a/samples/durable-task-sdks/java/human-interaction/gradle/wrapper/gradle-wrapper.jar and b/samples/durable-task-sdks/java/human-interaction/gradle/wrapper/gradle-wrapper.jar differ diff --git a/samples/durable-task-sdks/java/human-interaction/gradle/wrapper/gradle-wrapper.properties b/samples/durable-task-sdks/java/human-interaction/gradle/wrapper/gradle-wrapper.properties index 5b59ea8e..743f4870 100644 --- a/samples/durable-task-sdks/java/human-interaction/gradle/wrapper/gradle-wrapper.properties +++ b/samples/durable-task-sdks/java/human-interaction/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/durable-task-sdks/java/human-interaction/gradlew b/samples/durable-task-sdks/java/human-interaction/gradlew index 739907df..b9bb139f 100755 --- a/samples/durable-task-sdks/java/human-interaction/gradlew +++ b/samples/durable-task-sdks/java/human-interaction/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/samples/durable-task-sdks/java/human-interaction/gradlew.bat b/samples/durable-task-sdks/java/human-interaction/gradlew.bat index e509b2dd..aa5f10b0 100644 --- a/samples/durable-task-sdks/java/human-interaction/gradlew.bat +++ b/samples/durable-task-sdks/java/human-interaction/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% diff --git a/samples/durable-task-sdks/java/monitoring/build.gradle b/samples/durable-task-sdks/java/monitoring/build.gradle index 91d16f13..83395c41 100644 --- a/samples/durable-task-sdks/java/monitoring/build.gradle +++ b/samples/durable-task-sdks/java/monitoring/build.gradle @@ -10,7 +10,7 @@ java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } -def grpcVersion = '1.80.0' +def grpcVersion = '1.81.0' base { archivesName = 'durabletask-samples' } repositories { @@ -25,8 +25,8 @@ task runMonitoringPattern(type: JavaExec) { } dependencies { - implementation("com.microsoft:durabletask-client:1.8.0") - implementation("com.microsoft:durabletask-azuremanaged:1.8.0") + implementation("com.microsoft:durabletask-client:1.9.0") + implementation("com.microsoft:durabletask-azuremanaged:1.9.0") // Logging dependencies implementation 'ch.qos.logback:logback-classic:1.5.32' @@ -36,5 +36,5 @@ dependencies { implementation "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}" runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}" - implementation 'com.azure:azure-identity:1.18.2' + implementation 'com.azure:azure-identity:1.18.3' } diff --git a/samples/durable-task-sdks/java/monitoring/gradle/wrapper/gradle-wrapper.jar b/samples/durable-task-sdks/java/monitoring/gradle/wrapper/gradle-wrapper.jar index d997cfc6..b1b8ef56 100644 Binary files a/samples/durable-task-sdks/java/monitoring/gradle/wrapper/gradle-wrapper.jar and b/samples/durable-task-sdks/java/monitoring/gradle/wrapper/gradle-wrapper.jar differ diff --git a/samples/durable-task-sdks/java/monitoring/gradle/wrapper/gradle-wrapper.properties b/samples/durable-task-sdks/java/monitoring/gradle/wrapper/gradle-wrapper.properties index 5b59ea8e..743f4870 100644 --- a/samples/durable-task-sdks/java/monitoring/gradle/wrapper/gradle-wrapper.properties +++ b/samples/durable-task-sdks/java/monitoring/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/durable-task-sdks/java/monitoring/gradlew b/samples/durable-task-sdks/java/monitoring/gradlew index 739907df..b9bb139f 100755 --- a/samples/durable-task-sdks/java/monitoring/gradlew +++ b/samples/durable-task-sdks/java/monitoring/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/samples/durable-task-sdks/java/monitoring/gradlew.bat b/samples/durable-task-sdks/java/monitoring/gradlew.bat index e509b2dd..aa5f10b0 100644 --- a/samples/durable-task-sdks/java/monitoring/gradlew.bat +++ b/samples/durable-task-sdks/java/monitoring/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% diff --git a/samples/durable-task-sdks/java/opentelemetry-tracing/build.gradle b/samples/durable-task-sdks/java/opentelemetry-tracing/build.gradle index 2371a06e..059c11e7 100644 --- a/samples/durable-task-sdks/java/opentelemetry-tracing/build.gradle +++ b/samples/durable-task-sdks/java/opentelemetry-tracing/build.gradle @@ -10,7 +10,7 @@ java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } -def grpcVersion = '1.80.0' +def grpcVersion = '1.81.0' def openTelemetryVersion = '1.61.0' base { archivesName = 'durabletask-samples' } @@ -30,8 +30,8 @@ task runOpenTelemetryTracingPattern(type: JavaExec) { } dependencies { - implementation("com.microsoft:durabletask-client:1.8.0") - implementation("com.microsoft:durabletask-azuremanaged:1.8.0") + implementation("com.microsoft:durabletask-client:1.9.0") + implementation("com.microsoft:durabletask-azuremanaged:1.9.0") // Logging dependencies implementation 'ch.qos.logback:logback-classic:1.5.32' @@ -41,7 +41,7 @@ dependencies { implementation "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}" runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}" - implementation 'com.azure:azure-identity:1.18.2' + implementation 'com.azure:azure-identity:1.18.3' // OpenTelemetry implementation "io.opentelemetry:opentelemetry-api:${openTelemetryVersion}" diff --git a/samples/durable-task-sdks/java/opentelemetry-tracing/gradle/wrapper/gradle-wrapper.jar b/samples/durable-task-sdks/java/opentelemetry-tracing/gradle/wrapper/gradle-wrapper.jar index d997cfc6..b1b8ef56 100644 Binary files a/samples/durable-task-sdks/java/opentelemetry-tracing/gradle/wrapper/gradle-wrapper.jar and b/samples/durable-task-sdks/java/opentelemetry-tracing/gradle/wrapper/gradle-wrapper.jar differ diff --git a/samples/durable-task-sdks/java/opentelemetry-tracing/gradle/wrapper/gradle-wrapper.properties b/samples/durable-task-sdks/java/opentelemetry-tracing/gradle/wrapper/gradle-wrapper.properties index 5b59ea8e..743f4870 100644 --- a/samples/durable-task-sdks/java/opentelemetry-tracing/gradle/wrapper/gradle-wrapper.properties +++ b/samples/durable-task-sdks/java/opentelemetry-tracing/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/durable-task-sdks/java/opentelemetry-tracing/gradlew b/samples/durable-task-sdks/java/opentelemetry-tracing/gradlew index 739907df..b9bb139f 100755 --- a/samples/durable-task-sdks/java/opentelemetry-tracing/gradlew +++ b/samples/durable-task-sdks/java/opentelemetry-tracing/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/samples/durable-task-sdks/java/opentelemetry-tracing/gradlew.bat b/samples/durable-task-sdks/java/opentelemetry-tracing/gradlew.bat index e509b2dd..aa5f10b0 100644 --- a/samples/durable-task-sdks/java/opentelemetry-tracing/gradlew.bat +++ b/samples/durable-task-sdks/java/opentelemetry-tracing/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% diff --git a/samples/durable-task-sdks/java/sub-orchestrations/build.gradle b/samples/durable-task-sdks/java/sub-orchestrations/build.gradle index 7a05b30e..7690ead5 100644 --- a/samples/durable-task-sdks/java/sub-orchestrations/build.gradle +++ b/samples/durable-task-sdks/java/sub-orchestrations/build.gradle @@ -10,7 +10,7 @@ java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } -def grpcVersion = '1.80.0' +def grpcVersion = '1.81.0' base { archivesName = 'durabletask-samples' } repositories { @@ -25,8 +25,8 @@ task runSubOrchestrationPattern(type: JavaExec) { } dependencies { - implementation("com.microsoft:durabletask-client:1.8.0") - implementation("com.microsoft:durabletask-azuremanaged:1.8.0") + implementation("com.microsoft:durabletask-client:1.9.0") + implementation("com.microsoft:durabletask-azuremanaged:1.9.0") // Logging dependencies implementation 'ch.qos.logback:logback-classic:1.5.32' @@ -36,5 +36,5 @@ dependencies { implementation "io.grpc:grpc-protobuf:${grpcVersion}" implementation "io.grpc:grpc-stub:${grpcVersion}" runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}" - implementation 'com.azure:azure-identity:1.18.2' + implementation 'com.azure:azure-identity:1.18.3' } \ No newline at end of file diff --git a/samples/durable-task-sdks/java/sub-orchestrations/gradle/wrapper/gradle-wrapper.jar b/samples/durable-task-sdks/java/sub-orchestrations/gradle/wrapper/gradle-wrapper.jar index d997cfc6..b1b8ef56 100644 Binary files a/samples/durable-task-sdks/java/sub-orchestrations/gradle/wrapper/gradle-wrapper.jar and b/samples/durable-task-sdks/java/sub-orchestrations/gradle/wrapper/gradle-wrapper.jar differ diff --git a/samples/durable-task-sdks/java/sub-orchestrations/gradle/wrapper/gradle-wrapper.properties b/samples/durable-task-sdks/java/sub-orchestrations/gradle/wrapper/gradle-wrapper.properties index 5b59ea8e..743f4870 100644 --- a/samples/durable-task-sdks/java/sub-orchestrations/gradle/wrapper/gradle-wrapper.properties +++ b/samples/durable-task-sdks/java/sub-orchestrations/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/durable-task-sdks/java/sub-orchestrations/gradlew b/samples/durable-task-sdks/java/sub-orchestrations/gradlew index 739907df..b9bb139f 100755 --- a/samples/durable-task-sdks/java/sub-orchestrations/gradlew +++ b/samples/durable-task-sdks/java/sub-orchestrations/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/samples/durable-task-sdks/java/sub-orchestrations/gradlew.bat b/samples/durable-task-sdks/java/sub-orchestrations/gradlew.bat index e509b2dd..aa5f10b0 100644 --- a/samples/durable-task-sdks/java/sub-orchestrations/gradlew.bat +++ b/samples/durable-task-sdks/java/sub-orchestrations/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%