CB-8081 Allow gradle builds to use Java 6 instead of requiring 7
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/7fbb2b19 Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/7fbb2b19 Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/7fbb2b19 Branch: refs/heads/4.0.x Commit: 7fbb2b195fb51f8c138e45702e2339f4ad51847f Parents: 1feaa7f Author: Andrew Grieve <[email protected]> Authored: Wed Nov 26 11:44:49 2014 -0500 Committer: Andrew Grieve <[email protected]> Committed: Wed Nov 26 11:44:49 2014 -0500 ---------------------------------------------------------------------- bin/templates/cordova/lib/plugin-build.gradle | 4 ++-- bin/templates/project/build.gradle | 4 ++-- framework/build.gradle | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/7fbb2b19/bin/templates/cordova/lib/plugin-build.gradle ---------------------------------------------------------------------- diff --git a/bin/templates/cordova/lib/plugin-build.gradle b/bin/templates/cordova/lib/plugin-build.gradle index bf706c4..fd4d855 100644 --- a/bin/templates/cordova/lib/plugin-build.gradle +++ b/bin/templates/cordova/lib/plugin-build.gradle @@ -40,8 +40,8 @@ android { publishNonDefault true compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 + sourceCompatibility JavaVersion.VERSION_1_6 + targetCompatibility JavaVersion.VERSION_1_6 } sourceSets { http://git-wip-us.apache.org/repos/asf/cordova-android/blob/7fbb2b19/bin/templates/project/build.gradle ---------------------------------------------------------------------- diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle index b62a258..63ecd81 100644 --- a/bin/templates/project/build.gradle +++ b/bin/templates/project/build.gradle @@ -85,8 +85,8 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 + sourceCompatibility JavaVersion.VERSION_1_6 + targetCompatibility JavaVersion.VERSION_1_6 } if (System.env.RELEASE_SIGNING_PROPERTIES_FILE) { http://git-wip-us.apache.org/repos/asf/cordova-android/blob/7fbb2b19/framework/build.gradle ---------------------------------------------------------------------- diff --git a/framework/build.gradle b/framework/build.gradle index b9e9cdf..e048edd 100644 --- a/framework/build.gradle +++ b/framework/build.gradle @@ -45,8 +45,8 @@ android { publishNonDefault true compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 + sourceCompatibility JavaVersion.VERSION_1_6 + targetCompatibility JavaVersion.VERSION_1_6 } sourceSets { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
