From 0c48a4686dcec8ae10abf319d4e2646629eb8fae Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Tue, 22 Dec 2015 11:09:16 +0100 Subject: [PATCH] Revert "Force ant and android studio to use Java7" --- build.gradle | 11 ++++------- project.properties | 2 -- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 6d48b7b184..d96997a691 100644 --- a/build.gradle +++ b/build.gradle @@ -53,13 +53,10 @@ android { release.setRoot('build-types/release') } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 - } - - lintOptions { - abortOnError false + android { + lintOptions { + abortOnError false + } } productFlavors { diff --git a/project.properties b/project.properties index 4f0c145ae4..b7cabddb8a 100644 --- a/project.properties +++ b/project.properties @@ -11,5 +11,3 @@ target=android-22 android.library.reference.1=owncloud-android-library android.library.reference.2=libs/android-support-appcompat-v7-exploded-aar -java.source=7 -java.target=7