[android] gradle version updates

This commit is contained in:
Salakar 2018-03-23 22:17:51 +00:00
parent 9811a7cbef
commit b386b2e521
3 changed files with 11 additions and 6 deletions

View File

@ -2,6 +2,10 @@ buildscript {
ext.firebaseVersion = '11.8.0'
repositories {
jcenter()
mavenLocal()
maven {
url "https://maven.google.com"
}
maven {
url 'https://maven.fabric.io/public'
}
@ -19,10 +23,10 @@ android {
buildToolsVersion "27.0.2"
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
targetSdkVersion 27
versionCode 1
versionName "1.0"
// multiDexEnabled true
multiDexEnabled true
}
buildTypes {
release {
@ -44,6 +48,7 @@ allprojects {
}
}
rootProject.gradle.buildFinished { buildResult ->
if (buildResult.getFailure() != null) {
try {
@ -74,15 +79,17 @@ rootProject.gradle.buildFinished { buildResult ->
logger.log(LogLevel.ERROR, "| |")
logger.log(LogLevel.ERROR, " ----------------------------------------------------------- ")
}
} catch (Exception exception) {}
} catch (Exception exception) {
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
//noinspection GradleDynamicVersion
compile "com.facebook.react:react-native:+" // From node_modules
compile "com.android.support:support-v4:27.0.2"
compile "com.android.support:support-v4:27.1.0"
compile 'me.leolin:ShortcutBadger:1.1.21@aar'
compile "com.google.android.gms:play-services-base:$firebaseVersion"
compile "com.google.firebase:firebase-core:$firebaseVersion"

View File

@ -3,7 +3,6 @@ package io.invertase.firebase;
import android.content.Context;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.UIManagerModule;

View File

@ -3,7 +3,6 @@ package io.invertase.firebase.storage;
import android.support.annotation.RequiresPermission;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.UIManagerModule;