From 6b823f3d1b39c9811e7c66d3b7525148db66a6fb Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Wed, 9 Apr 2025 11:33:35 -0400 Subject: [PATCH 1/3] docs: add instructions on Java 7 usage --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c91e39332b6..f94f82c6e81 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,18 @@ This repository contains the generated source for individual APIs that utilize ## Requirements -* [Google APIs Java Client Library for Java][google-api-java-client] * Java 7 (or higher) +* [Google APIs Java Client Library for Java][google-api-java-client] + * In order to run your projects in Java 7, you must use version `1.32.1` of google-api-java-client, which only contains + dependencies compatible with Java 7, by adding + the following entry to your `dependencyManagement` section: + ```xml + + com.google.api-client + google-api-client + 2.7.2 + + ``` * Android 1.6 (or higher) ## Supported Google APIs From 890a821d76afc45d7ada14b1ae29c11d655da2a1 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Thu, 10 Apr 2025 13:56:07 -0400 Subject: [PATCH 2/3] specify use of bom --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f94f82c6e81..f6871317070 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ This repository contains the generated source for individual APIs that utilize ```xml com.google.api-client - google-api-client - 2.7.2 + google-api-client-bom + 1.32.1 ``` * Android 1.6 (or higher) From d7edbaaa7cf5a084f6c1003ea9eb6afa1e856bc1 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Thu, 10 Apr 2025 13:59:21 -0400 Subject: [PATCH 3/3] clarify message --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f6871317070..7b760474d87 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ This repository contains the generated source for individual APIs that utilize * Java 7 (or higher) * [Google APIs Java Client Library for Java][google-api-java-client] - * In order to run your projects in Java 7, you must use version `1.32.1` of google-api-java-client, which only contains - dependencies compatible with Java 7, by adding + * The latest version of Google APIs Java Client Library for Java requires Java 8 or higher due to its dependencies. + In order to run your projects in Java 7, you must use version `1.32.1` of google-api-java-client by adding the following entry to your `dependencyManagement` section: ```xml