From 8c7509267e15792b5fa645f70e6fd506fee914c1 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Sat, 1 Jun 2024 10:01:39 +0100 Subject: [PATCH] Upgrade gradle + assertj --- README.md | 2 +- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fe6ee9b..f8bc177 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,7 @@ assistantsClient.modifyAssistant(assistant.id(), modifyAssistantRequest); // Step 4: Create a thread CreateThreadRequest.Message message = CreateThreadRequest.Message.newBuilder() - .role("user") + .role(Role.USER) .content("How many shares of AAPL were outstanding at the end of of October 2023?") .build(); CreateThreadRequest createThreadRequest = CreateThreadRequest.newBuilder() diff --git a/build.gradle b/build.gradle index 51ec526..c2cb207 100644 --- a/build.gradle +++ b/build.gradle @@ -43,7 +43,7 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter:${junitVersion}") testImplementation("org.junit.jupiter:junit-jupiter-params:${junitVersion}") - testImplementation("org.assertj:assertj-core:3.25.3") + testImplementation("org.assertj:assertj-core:3.26.0") testImplementation("org.mock-server:mockserver-netty-no-dependencies:5.15.0") testImplementation("com.atlassian.oai:swagger-request-validator-core:2.40.0") testImplementation("org.skyscreamer:jsonassert:1.5.1") diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b82aa23..a441313 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index 1aa94a4..b740cf1 100755 --- a/gradlew +++ b/gradlew @@ -55,7 +55,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/.