upd from local changes to work correctly

This commit is contained in:
Kesha Antonov
2021-12-05 20:48:08 +03:00
parent a1769b4a91
commit 7012fed52d
6 changed files with 259 additions and 71 deletions
+7 -5
View File
@@ -5,11 +5,11 @@ def safeExtGet(prop, fallback) {
}
android {
compileSdkVersion safeExtGet("compileSdkVersion", 28)
compileSdkVersion safeExtGet("compileSdkVersion", 30)
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 28)
minSdkVersion safeExtGet('minSdkVersion', 21)
targetSdkVersion safeExtGet('targetSdkVersion', 30)
versionCode 1
versionName "1.0"
ndk {
@@ -22,8 +22,10 @@ dependencies {
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+'
if (project.properties['android.useAndroidX'] == 'true' || project.properties['android.useAndroidX'] == true) {
api "androidx.tonyodev.fetch2:xfetch2:3.1.4"
api "androidx.tonyodev.fetch2:xfetch2:3.1.6"
implementation "androidx.tonyodev.fetch2okhttp:xfetch2okhttp:3.1.6"
} else {
api "com.tonyodev.fetch2:fetch2:3.0.10"
api "com.tonyodev.fetch2:fetch2:3.0.12"
implementation "com.tonyodev.fetch2okhttp:fetch2okhttp:3.0.12"
}
}