diff --git a/README.md b/README.md index 37bf83d1..cc428227 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-retail:2.4.0' +implementation 'com.google.cloud:google-cloud-retail:2.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.5.0" ``` ## Authentication diff --git a/samples/interactive-tutorials/src/main/java/events/setup/UpdateUserEventsJson.java b/samples/interactive-tutorials/src/main/java/events/setup/UpdateUserEventsJson.java index e1fd5590..99c31edf 100644 --- a/samples/interactive-tutorials/src/main/java/events/setup/UpdateUserEventsJson.java +++ b/samples/interactive-tutorials/src/main/java/events/setup/UpdateUserEventsJson.java @@ -29,10 +29,10 @@ public class UpdateUserEventsJson { public static void main(String[] args) throws IOException { - // TODO(developer): Replace these variables before running the sample. String filePath = "src/main/resources/user_events.json"; - + String invalidFilePath = "src/main/resources/user_events_some_invalid.json"; updateEventsTimestamp(filePath); + updateEventsTimestamp(invalidFilePath); } public static void updateEventsTimestamp(String jsonFile) throws IOException {