summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-09-22 17:40:44 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-09-22 21:40:48 +0200
commit09d954447f743b83858a2d2afa1dcb1f3ada683c (patch)
tree7a3156566ad9d68338bea99fdee0f56c18c43918 /android
parentcf48347e7a56c38c000e657965f25f4c7e7b4803 (diff)
android: bump support library & buildtools/SDK versions
also add google maven repo, since "The support libraries are now available through Google's Maven repository. We no longer support downloading the libraries through the SDK Manager, and that functionality will be removed soon.." https://developer.android.com/topic/libraries/support-library/setup.html Change-Id: Ica0a2542903f60c7bffa1daa2409b60422bde88f
Diffstat (limited to 'android')
-rw-r--r--android/source/build.gradle18
1 files changed, 11 insertions, 7 deletions
diff --git a/android/source/build.gradle b/android/source/build.gradle
index 970ffeed3534..2cc745ab6429 100644
--- a/android/source/build.gradle
+++ b/android/source/build.gradle
@@ -1,11 +1,16 @@
project.ext.set("archivesBaseName", "LibreOfficeViewer")
-//build-time dependencies - android plugin for gradle
-buildscript {
+allprojects {
repositories {
jcenter()
+ maven {
+ url "https://maven.google.com"
+ }
}
+}
+//build-time dependencies - android plugin for gradle
+buildscript {
dependencies {
- classpath 'com.android.tools.build:gradle:2.3.2'
+ classpath 'com.android.tools.build:gradle:2.3.3'
}
}
@@ -24,14 +29,13 @@ dependencies {
])
compile files("${liboInstdir}/${liboShareJavaFolder}/unoil.jar")
compile files("${liboWorkdir}/UnpackedTarball/owncloud_android_lib/bin/owncloud-android-library.jar")
- compile 'com.android.support:appcompat-v7:25.3.1'
- compile 'com.android.support:design:25.3.1'
+ compile 'com.android.support:design:26.1.0' // also pulls-in corresponding support libraries
compile 'com.android.support.constraint:constraint-layout:1.0.2'
}
android {
- compileSdkVersion 25
- buildToolsVersion "25.0.3"
+ compileSdkVersion 26
+ buildToolsVersion "26.0.1"
compileOptions {
// silence some java-language features hints
sourceCompatibility 6