From 2a9c6c1b4c7b6f63e3d8ede89a7a8b3234c83838 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Tue, 1 Sep 2020 13:40:00 -0400 Subject: [PATCH] Revert "- reverts upgrade to java8 to avoid introducing a breaking change" This reverts commit 832d55b5a5fe680d885717fca94409f014c1bd04. --- build.gradle | 4 ++-- readme.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index ff7a71387..6ddaf7c01 100644 --- a/build.gradle +++ b/build.gradle @@ -204,8 +204,8 @@ publishing { } compileJava { - sourceCompatibility = 1.7 - targetCompatibility = 1.7 + sourceCompatibility = 1.8 + targetCompatibility = 1.8 } def getVersionCode() { diff --git a/readme.md b/readme.md index 76cb5137f..eabdee625 100644 --- a/readme.md +++ b/readme.md @@ -127,7 +127,7 @@ The Microsoft Graph SDK is open for contribution. To contribute to this project, This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome! ## 6. Supported Java versions -The Microsoft Graph SDK for Java library is supported at runtime for Java 7+ and [Android API revision 15](http://source.android.com/source/build-numbers.html) and greater. +The Microsoft Graph SDK for Java library is supported at runtime for Java 8+ and [Android API revision 15](http://source.android.com/source/build-numbers.html) and greater through [desugaring](https://developer.android.com/studio/write/java8-support.html#library-desugaring). ## 7. License