File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ android/build
4
4
android /.idea /
5
5
.DS_Store
6
6
.idea /
7
+ react-native-android.md
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
+ def DEFAULT_COMPILE_SDK_VERSION = 27
4
+ def DEFAULT_BUILD_TOOLS_VERSION = " 27.0.3"
5
+ def DEFAULT_TARGET_SDK_VERSION = 27
6
+ def DEFAULT_MIN_SDK_VERSION = 16
7
+ def DEFAULT_SUPPOR_LIBVERSION = " 27.0.3"
8
+
3
9
android {
4
10
// useLibrary 'org.apache.http.legacy'
5
11
6
- compileSdkVersion 26
12
+ compileSdkVersion rootProject. hasProperty(' compileSdkVersion' ) ? rootProject. compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
13
+
7
14
8
15
defaultConfig {
9
- minSdkVersion 16
10
- targetSdkVersion 26
16
+ minSdkVersion rootProject . hasProperty( ' minSdkVersion ' ) ? rootProject . minSdkVersion : DEFAULT_MIN_SDK_VERSION
17
+ targetSdkVersion rootProject . hasProperty( ' targetSdkVersion ' ) ? rootProject . targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
11
18
versionCode 1
12
19
versionName " 1.0"
13
20
ndk {
You can’t perform that action at this time.
0 commit comments