From 14188377b951eb4113679227fc14d91789ca475b Mon Sep 17 00:00:00 2001 From: Thomas Zurkan Date: Wed, 22 Aug 2018 13:59:05 -0700 Subject: [PATCH 1/2] update to use java 1.7 --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 0d6ebc9f0..605826e37 100644 --- a/build.gradle +++ b/build.gradle @@ -50,8 +50,8 @@ subprojects { apply plugin: 'me.champeau.gradle.jmh' apply plugin: 'nebula.optional-base' - sourceCompatibility = 1.6 - targetCompatibility = 1.6 + sourceCompatibility = 1.7 + targetCompatibility = 1.7 repositories { jcenter() From 63643111bd961a75466dbbb85bef02e98b89b9c1 Mon Sep 17 00:00:00 2001 From: Thomas Zurkan Date: Wed, 22 Aug 2018 15:22:42 -0700 Subject: [PATCH 2/2] add note in readme about source and target compatibility --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0250d4f37..01d6fc505 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This repository houses the Java SDK for Optimizely's Full Stack product. #### Gradle -The SDK is available through Bintray. The core-api and httpclient Bintray packages are [optimizely-sdk-core-api](https://bintray.com/optimizely/optimizely/optimizely-sdk-core-api) +The SDK is available through Bintray and is created with source and target compatibility of 1.7. The core-api and httpclient Bintray packages are [optimizely-sdk-core-api](https://bintray.com/optimizely/optimizely/optimizely-sdk-core-api) and [optimizely-sdk-httpclient](https://bintray.com/optimizely/optimizely/optimizely-sdk-httpclient) respectively. To install, place the following in your `build.gradle` and substitute `VERSION` for the latest SDK version available via Bintray: