Skip to content

Commit c52df55

Browse files
committed
Merge pull request #1236 from rasaha91/cherry-pick-appcompat-upgrade
Cherry-pick: Bump android Appcompat to 1.4.1
1 parent 19a1e5f commit c52df55

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

ReactAndroid/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,8 @@ dependencies {
378378
api("com.facebook.infer.annotation:infer-annotation:0.18.0")
379379
api("com.facebook.yoga:proguard-annotations:1.19.0")
380380
api("javax.inject:javax.inject:1")
381-
api("androidx.appcompat:appcompat:1.0.2")
381+
api("androidx.appcompat:appcompat:${APPCOMPAT_VERSION}")
382+
api("androidx.appcompat:appcompat-resources:${APPCOMPAT_VERSION}")
382383
api("androidx.autofill:autofill:1.1.0")
383384
api("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
384385
api("com.facebook.fresco:fresco:${FRESCO_VERSION}")

ReactAndroid/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ROBOLECTRIC_VERSION=4.4
1111
JUNIT_VERSION=4.12
1212

1313
ANDROIDX_TEST_VERSION=1.1.0
14+
APPCOMPAT_VERSION=1.4.1
1415
FRESCO_VERSION=2.5.0
1516
OKHTTP_VERSION=4.9.2
1617
SO_LOADER_VERSION=0.10.3

ReactAndroid/src/main/third-party/android/androidx/BUCK

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ fb_native.android_library(
1212
exported_deps = [
1313
":annotation",
1414
":appcompat-binary",
15+
":appcompat-resources-binary",
1516
":collection",
1617
":core",
1718
":cursoradapter",
@@ -365,6 +366,11 @@ fb_native.android_prebuilt_aar(
365366
aar = ":appcompat-binary-aar",
366367
)
367368

369+
fb_native.android_prebuilt_aar(
370+
name = "appcompat-resources-binary",
371+
aar = ":appcompat-resources-binary-aar",
372+
)
373+
368374
fb_native.android_prebuilt_aar(
369375
name = "asynclayoutinflater-binary",
370376
aar = ":asynclayoutinflater-binary-aar",
@@ -534,8 +540,14 @@ fb_native.remote_file(
534540

535541
fb_native.remote_file(
536542
name = "appcompat-binary-aar",
537-
sha1 = "002533a36c928bb27a3cc6843a25f83754b3c3ae",
538-
url = "mvn:androidx.appcompat:appcompat:aar:1.0.2",
543+
sha1 = "d384d125d196ed4997b418d7ba6fc18a4680ed22",
544+
url = "mvn:androidx.appcompat:appcompat:aar:1.4.1",
545+
)
546+
547+
fb_native.remote_file(
548+
name = "appcompat-resources-binary-aar",
549+
sha1 = "527d93d44bb18bc7dcf5213df8d4d069f0ceff61",
550+
url = "mvn:androidx.appcompat:appcompat-resources:aar:1.4.1",
539551
)
540552

541553
fb_native.remote_file(
@@ -558,8 +570,8 @@ fb_native.remote_file(
558570

559571
fb_native.remote_file(
560572
name = "core-binary-aar",
561-
sha1 = "263deba7f9c24bd0cefb93c0aaaf402cc50828ee",
562-
url = "mvn:androidx.core:core:aar:1.0.1",
573+
sha1 = "b26edc58f29ca0671e60828a68582760f880acdd",
574+
url = "mvn:androidx.core:core:aar:1.7.0",
563575
)
564576

565577
fb_native.remote_file(

0 commit comments

Comments
 (0)