File tree 2 files changed +10
-29
lines changed
2 files changed +10
-29
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
- def _ext = rootProject. ext
4
-
5
- def _reactNativeVersion = _ext. has(' reactNative' ) ? _ext. reactNative : ' +'
6
- def _compileSdkVersion = _ext. has(' compileSdkVersion' ) ? _ext. compileSdkVersion : 27
7
- def _buildToolsVersion = _ext. has(' buildToolsVersion' ) ? _ext. buildToolsVersion : ' 27.0.3'
8
- def _minSdkVersion = _ext. has(' minSdkVersion' ) ? _ext. minSdkVersion : 16
9
- def _targetSdkVersion = _ext. has(' targetSdkVersion' ) ? _ext. targetSdkVersion : 27
10
-
11
3
android {
12
- compileSdkVersion _compileSdkVersion
13
- buildToolsVersion _buildToolsVersion
4
+ compileSdkVersion 23
5
+ buildToolsVersion " 25.0.2 "
14
6
15
7
defaultConfig {
16
- minSdkVersion _minSdkVersion
17
- targetSdkVersion _targetSdkVersion
18
- versionCode 1
19
- versionName " 1.0"
8
+ minSdkVersion 16
9
+ targetSdkVersion 23
20
10
}
21
11
}
22
12
23
13
dependencies {
24
- // noinspection GradleDynamicVersion
25
- provided " com.facebook.react:react-native:${ _reactNativeVersion} "
14
+ provided ' com.facebook.react:react-native:+'
26
15
compile ' com.google.android.exoplayer:exoplayer:2.7.3'
27
16
compile(' com.google.android.exoplayer:extension-okhttp:2.7.3' ) {
28
17
exclude group : ' com.squareup.okhttp3' , module : ' okhttp'
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
- def _ext = rootProject. ext
4
-
5
- def _reactNativeVersion = _ext. has(' reactNative' ) ? _ext. reactNative : ' +'
6
- def _compileSdkVersion = _ext. has(' compileSdkVersion' ) ? _ext. compileSdkVersion : 27
7
- def _buildToolsVersion = _ext. has(' buildToolsVersion' ) ? _ext. buildToolsVersion : ' 27.0.3'
8
- def _minSdkVersion = _ext. has(' minSdkVersion' ) ? _ext. minSdkVersion : 16
9
- def _targetSdkVersion = _ext. has(' targetSdkVersion' ) ? _ext. targetSdkVersion : 27
10
-
11
3
android {
12
- compileSdkVersion _compileSdkVersion
13
- buildToolsVersion _buildToolsVersion
4
+ compileSdkVersion 25
5
+ buildToolsVersion " 25.0.2 "
14
6
15
7
defaultConfig {
16
- minSdkVersion _minSdkVersion
17
- targetSdkVersion _targetSdkVersion
8
+ minSdkVersion 16
9
+ targetSdkVersion 25
18
10
versionCode 1
19
11
versionName " 1.0"
20
12
ndk {
@@ -25,6 +17,6 @@ android {
25
17
26
18
dependencies {
27
19
// noinspection GradleDynamicVersion
28
- provided " com.facebook.react:react-native:${ _reactNativeVersion } "
20
+ provided ' com.facebook.react:react-native:+ '
29
21
compile ' com.yqritc:android-scalablevideoview:1.0.4'
30
22
}
You can’t perform that action at this time.
0 commit comments