mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +03:00
Force ant and android studio to use Java7
This commit is contained in:
parent
872e32475b
commit
149289b5dc
2 changed files with 9 additions and 4 deletions
11
build.gradle
11
build.gradle
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue