File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,6 @@ def getDefaultGradlePluginVersion = { int reactNativeVersion ->
2121 }
2222}
2323
24- // TODO: Bump `minSdkVersion` to 24 in 4.0
25- def getDefaultMinSdkVersion = { int reactNativeVersion ->
26- if (reactNativeVersion >= v(0 , 76 , 0 )) {
27- return 24
28- } else {
29- return 23
30- }
31- }
32-
3324def getKotlinVersion = { File baseDir ->
3425 def fallbackVersion = " 1.7.21"
3526
4940 reactNativeVersion = getPackageVersionNumber(" react-native" , rootDir)
5041
5142 compileSdkVersion = rootProject. findProperty(" react.compileSdkVersion" ) ?: 34
52- minSdkVersion = rootProject. findProperty(" react.minSdkVersion" )
53- ?: getDefaultMinSdkVersion(reactNativeVersion)
43+ minSdkVersion = rootProject. findProperty(" react.minSdkVersion" ) ?: 24
5444 targetSdkVersion = rootProject. findProperty(" react.targetSdkVersion" ) ?: 33
5545
5646 autodetectReactNativeVersion = reactNativeVersion == 0 || reactNativeVersion >= v(0 , 71 , 0 )
You can’t perform that action at this time.
0 commit comments