forked from TheWidlarzGroup/react-native-video
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
41 lines (35 loc) · 1 KB
/
build.gradle
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
33
34
35
36
37
38
39
40
41
plugins {
id "com.android.library"
}
android {
compileSdkVersion 33
defaultConfig {
minSdkVersion 24
targetSdkVersion 33
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
}
repositories {
if (project == rootProject) {
maven { url "https://a8c-libs.s3.amazonaws.com/android/react-native-mirror" }
} else {
// When building as a dep, the RN's maven repo is locally in the node_modules folder
def nodeModulesPath = "${project.buildDir}/../../node_modules/"
maven { url "${nodeModulesPath}/react-native/android" }
}
google()
mavenCentral()
jcenter()
}
dependencies {
if (project == rootProject) {
// If this is the root project (e.g. Jitpack), specify a version
implementation 'com.facebook.react:react-native:0.69.4'
} else {
//noinspection GradleDynamicVersion
api "com.facebook.react:react-native:+"
}
implementation 'com.yqritc:android-scalablevideoview:1.0.4'
}