diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 276a79c0..b40f74d6 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "8310f918449e29a8af4980231e6c681af59c4818" + "sha": "f9c15c67b3eb5770d4d6be1409116bbe7b02705e" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "996775eca5fd934edac3c2ae34b80ff0395b1717" + "sha": "a3e990f3545dc8ccd384a75d20ce9cb185ca6a28" } } ] diff --git a/README.md b/README.md index 617dd8dc..618c8371 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,20 @@ If you are using Maven without BOM, add this to your dependencies: ``` -If you are using Gradle, add this to your dependencies +If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-document-ai:0.3.6' +implementation platform('com.google.cloud:libraries-bom:16.2.0') + +compile 'com.google.cloud:google-cloud-document-ai' +``` +If you are using Gradle without BOM, add this to your dependencies +```Groovy +compile 'com.google.cloud:google-cloud-document-ai:0.3.7' ``` + If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "0.3.6" +libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "0.3.7" ``` ## Authentication