Created
January 18, 2017 16:56
-
-
Save nikolal/bb667b0948977f56ba10718c81e936a5 to your computer and use it in GitHub Desktop.
Copy this file instead of your: node_module/react-native-maps/android/build.gradle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
apply plugin: 'com.android.library' | |
apply from: 'gradle-maven-push.gradle' | |
buildscript { | |
repositories { | |
mavenLocal() | |
jcenter() | |
maven { | |
// For developing the library outside the context of the example app, expect `react-native` | |
// to be installed at `./node_modules`. | |
url "$projectDir/../node_modules/react-native/android" | |
} | |
maven { | |
// For developing the example app. | |
url "$projectDir/../../react-native/android" | |
} | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.2.3' | |
} | |
} | |
allprojects { | |
repositories { | |
mavenLocal() | |
jcenter() | |
maven { | |
// For developing the library outside the context of the example app, expect `react-native` | |
// to be installed at `./node_modules`. | |
url "$projectDir/../node_modules/react-native/android" | |
} | |
maven { | |
// For developing the example app. | |
url "$projectDir/../../react-native/android" | |
} | |
} | |
} | |
android { | |
compileSdkVersion 23 | |
buildToolsVersion "23.0.3" | |
defaultConfig { | |
minSdkVersion 16 | |
targetSdkVersion 23 | |
} | |
lintOptions { | |
disable 'InvalidPackage' | |
} | |
} | |
dependencies { | |
compile "com.facebook.react:react-native:+" | |
compile "com.google.android.gms:play-services-base:10.0.1" | |
compile "com.google.android.gms:play-services-maps:10.0.1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment