Skip to content

Instantly share code, notes, and snippets.

@1fabiopereira
Created January 10, 2018 14:09
Show Gist options
  • Save 1fabiopereira/0bc5b42e13cfb03a57c915dbd2d064d9 to your computer and use it in GitHub Desktop.
Save 1fabiopereira/0bc5b42e13cfb03a57c915dbd2d064d9 to your computer and use it in GitHub Desktop.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
}
}
allprojects {
repositories {
jcenter()
maven { url "$projectDir/../node_modules/react-native/android" }
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
lintOptions {
abortOnError false
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile "com.android.support:appcompat-v7:23.0.1"
compile 'com.google.android.gms:play-services-auth:+'
compile "com.facebook.react:react-native:+"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment