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..e3d738c3 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,24 +25,24 @@ 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' // Logging dependencies implementation 'ch.qos.logback:logback-classic:1.5.32' - implementation 'org.slf4j:slf4j-api:2.0.17' + implementation 'org.slf4j:slf4j-api:2.0.18' // https://github.com/grpc/grpc-java#download 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..4dcb8425 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.1-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..f83d9d50 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,16 +25,16 @@ 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' - implementation 'org.slf4j:slf4j-api:2.0.17' + implementation 'org.slf4j:slf4j-api:2.0.18' // https://github.com/grpc/grpc-java#download 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..4dcb8425 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.1-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..2fed1708 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,16 +25,16 @@ 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' - implementation 'org.slf4j:slf4j-api:2.0.17' + implementation 'org.slf4j:slf4j-api:2.0.18' // https://github.com/grpc/grpc-java#download 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..4dcb8425 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.1-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..d607c801 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,18 +25,18 @@ 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' - implementation 'org.slf4j:slf4j-api:2.0.17' + implementation 'org.slf4j:slf4j-api:2.0.18' // https://github.com/grpc/grpc-java#download 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..4dcb8425 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.1-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..1029ca0d 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,16 +26,16 @@ 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' - implementation 'org.slf4j:slf4j-api:2.0.17' + implementation 'org.slf4j:slf4j-api:2.0.18' // https://github.com/grpc/grpc-java#download 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..4dcb8425 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.1-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..1a1a21c2 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,16 +25,16 @@ 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' - implementation 'org.slf4j:slf4j-api:2.0.17' + implementation 'org.slf4j:slf4j-api:2.0.18' // https://github.com/grpc/grpc-java#download 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..4dcb8425 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.1-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..59cd9686 100644 --- a/samples/durable-task-sdks/java/opentelemetry-tracing/build.gradle +++ b/samples/durable-task-sdks/java/opentelemetry-tracing/build.gradle @@ -10,8 +10,8 @@ java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } -def grpcVersion = '1.80.0' -def openTelemetryVersion = '1.61.0' +def grpcVersion = '1.81.0' +def openTelemetryVersion = '1.62.0' base { archivesName = 'durabletask-samples' } application { @@ -30,18 +30,18 @@ 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' - implementation 'org.slf4j:slf4j-api:2.0.17' + implementation 'org.slf4j:slf4j-api:2.0.18' // gRPC 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..4dcb8425 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.1-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..af56c014 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,16 +25,16 @@ 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' - implementation 'org.slf4j:slf4j-api:2.0.17' + implementation 'org.slf4j:slf4j-api:2.0.18' // https://github.com/grpc/grpc-java#download 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..4dcb8425 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.1-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%