Force ant and android studio to use Java7

This commit is contained in:
Bartosz Przybylski 2015-12-02 21:18:58 +01:00
parent 872e32475b
commit 149289b5dc
2 changed files with 9 additions and 4 deletions

View file

@ -53,10 +53,13 @@ android {
release.setRoot('build-types/release')
}
android {
lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
lintOptions {
abortOnError false
}
productFlavors {

View file

@ -11,3 +11,5 @@
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