UNPKG

721 BPlain TextView Raw
1apply plugin: 'com.android.library'
2
3repositories {
4 mavenCentral()
5 jcenter()
6}
7
8def safeExtGet(prop, fallback) {
9 rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
10}
11
12android {
13 compileSdkVersion safeExtGet('compileSdkVersion', 26)
14
15 defaultConfig {
16 minSdkVersion safeExtGet('minSdkVersion', 16)
17 targetSdkVersion safeExtGet('targetSdkVersion', 26)
18 versionCode 1
19 versionName "1.0"
20 }
21}
22
23dependencies {
24 implementation 'com.facebook.react:react-native:+' // From node_modules
25 implementation 'io.branch.sdk.android:library:+'
26 // TODO: Resolve build issue with this jar.
27 // implementation files('libs/Branch-3.0.3.jar') // From node_modules
28}