Browse Source

Revert "Force ant and android studio to use Java7"

David A. Velasco 9 years ago
parent
commit
0c48a4686d
2 changed files with 4 additions and 9 deletions
  1. 4 7
      build.gradle
  2. 0 2
      project.properties

+ 4 - 7
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 {

+ 0 - 2
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