-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy pathbuild.gradle
More file actions
32 lines (27 loc) · 918 Bytes
/
build.gradle
File metadata and controls
32 lines (27 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
apply plugin: 'com.android.library'
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
android {
compileSdkVersion safeExtGet('compileSdkVersion', 26)
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 26)
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
}
repositories {
jcenter()
maven { url 'https://maven.google.com' }
}
dependencies {
implementation 'com.facebook.react:react-native:+'
implementation "com.android.support:recyclerview-v7:${safeExtGet('supportLibVersion', '26.1.0')}"
implementation 'com.facebook.android:audience-network-sdk:6.+'
implementation 'com.facebook.android:facebook-android-sdk:6.+'
}