Skip to content

Commit 22b7f95

Browse files
Merge pull request #530 from OpenDTU-App/467-add-this-patch-to-remove-deprecated-jetifier
2 parents c93e486 + 04128d0 commit 22b7f95

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
diff --git a/node_modules/react-native-splash-screen/android/build.gradle b/node_modules/react-native-splash-screen/android/build.gradle
2+
index baef1a9..84361df 100644
3+
--- a/node_modules/react-native-splash-screen/android/build.gradle
4+
+++ b/node_modules/react-native-splash-screen/android/build.gradle
5+
@@ -7,7 +7,7 @@ apply plugin: 'com.android.library'
6+
def DEFAULT_COMPILE_SDK_VERSION = 26
7+
def DEFAULT_BUILD_TOOLS_VERSION = "26.0.2"
8+
def DEFAULT_TARGET_SDK_VERSION = 26
9+
-def DEFAULT_SUPPORT_LIB_VERSION = "26.1.0"
10+
+def DEFAULT_ANDROIDX_APPCOMPAT_VERSION = "1.6.1"
11+
12+
android {
13+
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
14+
@@ -28,10 +28,10 @@ android {
15+
}
16+
17+
dependencies {
18+
- def supportLibVersion = rootProject.hasProperty('supportLibVersion') ? rootProject.supportLibVersion : DEFAULT_SUPPORT_LIB_VERSION
19+
+ def androidXAppCompatVersion = rootProject.hasProperty('androidXAppCompatVersion') ? rootProject.androidXAppCompatVersion : DEFAULT_ANDROIDX_APPCOMPAT_VERSION
20+
21+
implementation fileTree(dir: 'libs', include: ['*.jar'])
22+
testImplementation 'junit:junit:4.12'
23+
- implementation "com.android.support:appcompat-v7:$supportLibVersion"
24+
+ implementation "androidx.appcompat:appcompat:$androidXAppCompatVersion"
25+
implementation "com.facebook.react:react-native:+" // From node_modules
26+
}

0 commit comments

Comments
 (0)