Explorar o código

Merge 790652de3fa80c990919311a69073a064f6f28a7 into fc6dee08e917d74942008ca9a5a61dacea7203a3

Tobias Kaminsky %!s(int64=7) %!d(string=hai) anos
pai
achega
a32a6de067
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 1 1
      .drone.yml
  2. 3 1
      build.gradle

+ 1 - 1
.drone.yml

@@ -3,7 +3,7 @@ pipeline:
     image: nextcloudci/android:android-18
     commands:
       # uncomment gplay for Gplay, Modified only
-      - sh -c "if [ '$FLAVOUR' != 'Generic' ]; then sed -i '/com.google.*.gms/s/^.*\\/\\///g' build.gradle; fi"
+      - sh -c "if [ '$FLAVOUR' != 'Generic' ]; then sed -i '/com.google.*/s/^.*\\/\\///g' build.gradle; fi"
 
       # - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M
       # - emulator -avd test -no-window &

+ 3 - 1
build.gradle

@@ -30,6 +30,7 @@ configurations.all {
 
 ext {
     supportLibraryVersion = '25.0.0'
+    googleLibraryVersion = '10.2.4'
 
     travisBuild = System.getenv("TRAVIS") == "true"
 
@@ -194,7 +195,8 @@ dependencies {
     compile 'com.googlecode.ez-vcard:ez-vcard:0.10.2'
 
     // uncomment for gplay, modified
-    //compile 'com.google.android.gms:play-services:10.2.4'
+    // compile "com.google.firebase:firebase-messaging:${googleLibraryVersion}"
+    // compile "com.google.android.gms:play-services-base:${googleLibraryVersion}"
 
     compile 'org.parceler:parceler-api:1.1.6'
     annotationProcessor 'org.parceler:parceler:1.1.6'