diff options
author | Jan Holesovsky <kendy@collabora.com> | 2019-12-11 20:12:45 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-12-11 20:41:46 +0100 |
commit | b9df7da0fffc49de72dd4da9a4ea5f4e9f4db968 (patch) | |
tree | e163929bf59a3075792a26eae266805991c4d9db /android | |
parent | 7e1a6bdbecc794f6e552d14a558e13b2c8b100d1 (diff) |
android: Fix build after the recent Nextcloud's android-library update.
Thanks Tobi for the hint!
Change-Id: I00b7ef4aaef7ced1d26d3d5636189e239897ecea
Reviewed-on: https://gerrit.libreoffice.org/84979
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'android')
-rw-r--r-- | android/app/build.gradle | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/android/app/build.gradle b/android/app/build.gradle index 84f5ef91c..158ea2ddf 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -5,11 +5,13 @@ apply from: 'appSettings.gradle' android { compileSdkVersion 28 + defaultConfig { // applicationId, versionCode and versionName are defined in appSettings.gradle minSdkVersion 21 targetSdkVersion 28 } + buildTypes { debug { resValue "string", "app_name", "${liboAppName} Debug" @@ -40,6 +42,11 @@ android { 'proguard-rules.pro' } } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } } repositories { @@ -54,7 +61,9 @@ dependencies { implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.recyclerview:recyclerview:1.0.0' implementation 'com.google.android.material:material:1.1.0-alpha04' + implementation 'com.github.nextcloud:android-library:-SNAPSHOT' + implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2 //before changing the version please see https://issuetracker.google.com/issues/111662669 implementation 'androidx.preference:preference:1.1.0-alpha01' |