File tree 2 files changed +17
-7
lines changed 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,21 @@ buildscript {
13
13
}
14
14
}
15
15
16
+ def _ext = rootProject. ext
17
+
18
+ def _reactNativeVersion = _ext. has(' reactNative' ) ? _ext. reactNative : ' +'
19
+ def _compileSdkVersion = _ext. has(' compileSdkVersion' ) ? _ext. compileSdkVersion : 27
20
+ def _buildToolsVersion = _ext. has(' buildToolsVersion' ) ? _ext. buildToolsVersion : ' 27.0.3'
21
+ def _minSdkVersion = _ext. has(' minSdkVersion' ) ? _ext. minSdkVersion : 16
22
+ def _targetSdkVersion = _ext. has(' targetSdkVersion' ) ? _ext. targetSdkVersion : 27
23
+
16
24
android {
17
- compileSdkVersion 23
18
- buildToolsVersion " 23.0.1"
25
+ compileSdkVersion _compileSdkVersion
26
+ buildToolsVersion _buildToolsVersion
27
+
19
28
defaultConfig {
20
- minSdkVersion 16
21
- targetSdkVersion 23
29
+ minSdkVersion _minSdkVersion
30
+ targetSdkVersion _targetSdkVersion
22
31
versionCode 1
23
32
versionName " 1.0"
24
33
}
@@ -33,6 +42,7 @@ android {
33
42
}
34
43
35
44
dependencies {
36
- compile ' com.facebook.react:react-native:+'
45
+ // noinspection GradleDynamicVersion
46
+ compile " com.facebook.react:react-native:${ _reactNativeVersion} "
37
47
// {RNFetchBlob_PRE_0.28_DEPDENDENCY}
38
48
}
Original file line number Diff line number Diff line change 1
- # Wed May 18 12:33:41 CST 2016
1
+ # Tue Apr 24 14:22:15 BRT 2018
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-2.10 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-2.14.1 -all.zip
You can’t perform that action at this time.
0 commit comments