Skip to content

Commit c997c1e

Browse files
authored
Update firebase dependencies
Update version firebase auth, firebase analytics, gradle
1 parent e54f723 commit c997c1e

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

android/build.gradle

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,26 @@ buildscript {
77
}
88

99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.1.2'
10+
classpath 'com.android.tools.build:gradle:3.5.0'
1111
}
1212
}
1313

1414
apply plugin: 'com.android.library'
1515

16-
def DEFAULT_COMPILE_SDK_VERSION = 27
17-
def DEFAULT_BUILD_TOOLS_VERSION = "27.0.3"
18-
def DEFAULT_TARGET_SDK_VERSION = 27
19-
def DEFAULT_FIREBASE_VERSION = "16.0.1"
20-
def DEFAULT_SUPPORT_LIB_VERSION = "27.0.0"
16+
def DEFAULT_COMPILE_SDK_VERSION = 28
17+
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
18+
def DEFAULT_TARGET_SDK_VERSION = 28
19+
def DEFAULT_FIREBASE_ANALYTICS_VERSION = "17.2.3"
20+
def DEFAULT_FIREBASE_AUTH_VERSION = "19.2.0"
21+
def DEFAULT_SUPPORT_LIB_VERSION = "28.0.0"
2122

2223

2324

2425
android {
2526
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
2627
buildToolsVersion rootProject.hasProperty('buildToolsVersion') ? rootProject.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION
2728
defaultConfig {
28-
minSdkVersion 16
29+
minSdkVersion 21
2930
targetSdkVersion rootProject.hasProperty('targetSdkVersion') ? rootProject.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
3031
versionCode 1
3132
versionName "1.0"
@@ -47,10 +48,11 @@ repositories {
4748

4849
dependencies {
4950
//noinspection GradleCompatible
50-
def firebaseVersion = rootProject.hasProperty('firebaseVersion') ? rootProject.firebaseVersion : DEFAULT_FIREBASE_VERSION
51+
def firebaseAnalyticsVersion = rootProject.hasProperty('firebaseAnalyticsVersion') ? rootProject.firebaseAnalyticsVersion : DEFAULT_FIREBASE_ANALYTICS_VERSION
52+
def firebaseAuthVersion = rootProject.hasProperty('firebaseAuthVersion') ? rootProject.firebaseAuthVersion : DEFAULT_FIREBASE_AUTH_VERSION
5153
def supportLibVersion = rootProject.hasProperty('supportLibVersion') ? rootProject.supportLibVersion : DEFAULT_SUPPORT_LIB_VERSION
5254
implementation "com.android.support:appcompat-v7:$supportLibVersion"
5355
implementation "com.facebook.react:react-native:+"
54-
implementation "com.google.firebase:firebase-core:$firebaseVersion"
55-
implementation "com.google.firebase:firebase-auth:$firebaseVersion"
56-
}
56+
implementation "com.google.firebase:firebase-analytics:$firebaseAnalyticsVersion"
57+
implementation "com.google.firebase:firebase-auth:$firebaseAuthVersion"
58+
}

0 commit comments

Comments
 (0)