[perf][android] Move deps into app project, out of RNFirebase

This commit is contained in:
Elliot Hesp 2017-05-24 12:37:26 +01:00
parent fa6cbd342a
commit a0d492ddac
3 changed files with 4 additions and 3 deletions

View File

@ -9,13 +9,11 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.1.3' classpath 'com.android.tools.build:gradle:2.1.3'
classpath 'com.google.firebase:firebase-plugins:1.1.0'
} }
} }
// END // END
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
apply plugin: 'com.google.firebase.firebase-perf'
android { android {
compileSdkVersion 25 compileSdkVersion 25
@ -60,5 +58,5 @@ dependencies {
compile "com.google.firebase:firebase-messaging:$firebaseVersion" compile "com.google.firebase:firebase-messaging:$firebaseVersion"
compile "com.google.firebase:firebase-crash:$firebaseVersion" compile "com.google.firebase:firebase-crash:$firebaseVersion"
compile "com.google.firebase:firebase-config:$firebaseVersion" compile "com.google.firebase:firebase-config:$firebaseVersion"
compile 'com.google.firebase:firebase-perf:$firebaseVersion' compile "com.google.firebase:firebase-perf:$firebaseVersion"
} }

View File

@ -1,4 +1,5 @@
apply plugin: "com.android.application" apply plugin: "com.android.application"
apply plugin: "com.google.firebase.firebase-perf"
import com.android.build.OutputFile import com.android.build.OutputFile
@ -130,6 +131,7 @@ dependencies {
compile project(':react-native-firebase') compile project(':react-native-firebase')
compile project(':react-native-vector-icons') compile project(':react-native-vector-icons')
compile fileTree(dir: "libs", include: ["*.jar"]) compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.google.firebase:firebase-perf:10.2.6"
compile "com.android.support:appcompat-v7:24.0.0" compile "com.android.support:appcompat-v7:24.0.0"
compile "com.facebook.react:react-native:+" // From node_modules compile "com.facebook.react:react-native:+" // From node_modules
} }

View File

@ -7,6 +7,7 @@ buildscript {
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.google.gms:google-services:3.0.0' classpath 'com.google.gms:google-services:3.0.0'
classpath 'com.google.firebase:firebase-plugins:1.1.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files