Skip to content

Instantly share code, notes, and snippets.

@vovkasm
Created June 18, 2019 21:04
Show Gist options
  • Save vovkasm/db95c1f0d8bc98aa717decef55785a1f to your computer and use it in GitHub Desktop.
Save vovkasm/db95c1f0d8bc98aa717decef55785a1f to your computer and use it in GitHub Desktop.
Some gradle deps for RN 0.59.9
// android/app/build.gradle
// ... some RN stuff
apply plugin: 'com.google.gms.google-services'
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:${rootProject.supportLibVersion}"
implementation "com.android.support:cardview-v7:${rootProject.supportLibVersion}"
implementation "com.android.support:customtabs:${rootProject.supportLibVersion}"
implementation "com.android.support:support-media-compat:${rootProject.supportLibVersion}"
implementation 'com.facebook.react:react-native:+'
implementation project(':react-native-amplitude-analytics')
implementation project(':react-native-fbsdk')
implementation project(':react-native-firebase')
implementation project(':react-native-fs')
implementation project(':react-native-google-places')
implementation project(':react-native-image-picker')
implementation project(':react-native-linear-gradient')
implementation project(':react-native-maps')
implementation project(':react-native-sentry')
implementation project(':react-native-share')
implementation project(':react-native-vector-icons')
implementation project(':react-native-vkontakte-login')
implementation project(':react-native-web-image')
implementation project(':react-native-webview')
implementation 'com.bluelinelabs:conductor:2.1.5'
implementation "com.google.android.gms:play-services-base:${rootProject.googlePlayServicesVersion}"
implementation "com.google.android.gms:play-services-location:16.0.0"
implementation 'com.google.firebase:firebase-core:16.0.9'
implementation 'com.google.firebase:firebase-messaging:18.0.0'
implementation 'me.leolin:ShortcutBadger:1.1.21@aar'
implementation "com.amplitude:android-sdk:${rootProject.amplitudeLibVersion}"
implementation 'com.appsflyer:af-android-sdk:4.9.0'
implementation 'com.android.installreferrer:installreferrer:1.0'
}
// android/build.gradle
buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
googlePlayServicesVersion = "16.1.0"
amplitudeLibVersion = "2.19.1"
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0'
classpath 'de.undercouch:gradle-download-task:3.4.3'
classpath 'com.google.gms:google-services:4.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
google()
jcenter()
}
}
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment