File tree Expand file tree Collapse file tree 3 files changed +12
-13
lines changed Expand file tree Collapse file tree 3 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ project.ext.react = [
59
59
]
60
60
61
61
android {
62
- compileSdkVersion sdk . version
63
- buildToolsVersion sdk . buildToolsVersion
62
+ compileSdkVersion project . ext . compileSdkVersion
63
+ buildToolsVersion project . ext . buildToolsVersion
64
64
65
65
// We need only set `ndkVersion` when building react-native from source.
66
66
if (hasProperty(" ANDROID_NDK_VERSION" )) {
@@ -81,8 +81,8 @@ android {
81
81
82
82
defaultConfig {
83
83
applicationId project. ext. react. applicationId
84
- minSdkVersion sdk . minVersion
85
- targetSdkVersion sdk . version
84
+ minSdkVersion project . ext . minSdkVersion
85
+ targetSdkVersion project . ext . targetSdkVersion
86
86
versionCode reactTestApp. versionCode
87
87
versionName reactTestApp. versionName
88
88
Original file line number Diff line number Diff line change 8
8
versionName : " 1.0"
9
9
]
10
10
11
- sdk = [
12
- version : 29 ,
13
- minVersion : 21 ,
14
- buildToolsVersion : " 30.0.3"
15
- ]
11
+ compileSdkVersion = 29
12
+ buildToolsVersion = " 30.0.3"
13
+ minSdkVersion = 21
14
+ targetSdkVersion = 29
16
15
17
16
/**
18
17
* Dependabot requires a `dependencies.gradle` to evaluate Java
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ apply from: "$androidDir/force-resolve-trove4j.gradle"
14
14
apply plugin : " com.android.library"
15
15
16
16
android {
17
- compileSdkVersion sdk . version
18
- buildToolsVersion sdk . buildToolsVersion
17
+ compileSdkVersion project . ext . compileSdkVersion
18
+ buildToolsVersion project . ext . buildToolsVersion
19
19
20
20
defaultConfig {
21
- minSdkVersion sdk . minVersion
22
- targetSdkVersion sdk . version
21
+ minSdkVersion project . ext . minSdkVersion
22
+ targetSdkVersion project . ext . targetSdkVersion
23
23
versionCode reactTestApp. versionCode
24
24
versionName reactTestApp. versionName
25
25
}
You can’t perform that action at this time.
0 commit comments