1 | apply plugin: 'com.android.library'
|
2 |
|
3 | repositories {
|
4 | mavenCentral()
|
5 | jcenter()
|
6 | }
|
7 |
|
8 | def safeExtGet(prop, fallback) {
|
9 | rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
10 | }
|
11 |
|
12 | android {
|
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 |
|
23 | dependencies {
|
24 | implementation 'com.facebook.react:react-native:+'
|
25 | implementation 'io.branch.sdk.android:library:+'
|
26 |
|
27 |
|
28 | }
|