diff --git a/RNTester/android/app/BUCK b/RNTester/android/app/BUCK index 95e5318015a..ceb05c3e109 100644 --- a/RNTester/android/app/BUCK +++ b/RNTester/android/app/BUCK @@ -15,8 +15,12 @@ rn_android_library( is_androidx = True, deps = [ ":res", - react_native_dep("third-party/android/support/v4:lib-support-v4"), - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react:react"), react_native_target("java/com/facebook/react/common:build_config"), diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/BUCK index 8776a33aa39..0bb7e7becc9 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/BUCK @@ -15,7 +15,11 @@ rn_android_library( ], deps = [ react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/buck-android-support:buck-android-support"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/network/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/network/BUCK index 4d3c1f73dba..f5842dcae00 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/network/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/network/BUCK @@ -7,7 +7,11 @@ rn_android_library( "PUBLIC", ], deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/module/annotations:annotations"), diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK index d1963d369ea..b0a3d9e254f 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK @@ -20,8 +20,12 @@ rn_android_library( react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/junit:junit"), react_native_dep("third-party/java/testing-support-lib:testing-support-lib"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_integration_tests_target("java/com/facebook/react/testing:testing"), react_native_integration_tests_target("java/com/facebook/react/testing/idledetection:idledetection"), diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/tests/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/tests/BUCK index 72d5eb328ca..798f91566e8 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/tests/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/tests/BUCK @@ -8,8 +8,12 @@ rn_android_library( "PUBLIC", ], deps = [ - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/junit:junit"), react_native_integration_tests_target("java/com/facebook/react/testing:testing"), diff --git a/ReactAndroid/src/main/android_res/com/facebook/catalyst/appcompat/BUCK b/ReactAndroid/src/main/android_res/com/facebook/catalyst/appcompat/BUCK index 895f28a83f5..72ef90eec8a 100644 --- a/ReactAndroid/src/main/android_res/com/facebook/catalyst/appcompat/BUCK +++ b/ReactAndroid/src/main/android_res/com/facebook/catalyst/appcompat/BUCK @@ -5,6 +5,6 @@ load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_resou rn_android_resource( name = "appcompat", package = "com.facebook.react", - res = react_native_dep("third-party/android/support/v7/appcompat:res-unpacker-cmd"), + res = react_native_dep("third-party/android/androidx:appcompat"), visibility = ["//ReactAndroid/..."], ) diff --git a/ReactAndroid/src/main/java/com/facebook/react/BUCK b/ReactAndroid/src/main/java/com/facebook/react/BUCK index d44eb9eff29..2f9fa2dd606 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/BUCK @@ -5,8 +5,12 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/animated/BUCK b/ReactAndroid/src/main/java/com/facebook/react/animated/BUCK index 406ef5c79a1..0b1fc31a9ae 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/animated/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/animated/BUCK @@ -6,7 +6,11 @@ rn_android_library( "*.java", ]), provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK b/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK index 19eea44b5f2..5efe2927311 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK @@ -22,7 +22,11 @@ rn_android_library( is_androidx = True, proguard_config = "reactnative.pro", provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], required_for_source_only_abi = True, visibility = [ @@ -58,7 +62,11 @@ rn_android_library( is_androidx = True, proguard_config = "reactnative.pro", provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], required_for_source_only_abi = True, visibility = [ diff --git a/ReactAndroid/src/main/java/com/facebook/react/common/BUCK b/ReactAndroid/src/main/java/com/facebook/react/common/BUCK index 2ee45fdccf2..5c67573a025 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/common/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/common/BUCK @@ -12,7 +12,11 @@ rn_android_library( ), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], required_for_source_only_abi = True, visibility = [ diff --git a/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK b/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK index 5a3af152f7c..3e81898d223 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK @@ -6,7 +6,11 @@ rn_android_library( is_androidx = True, manifest = "AndroidManifest.xml", provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK b/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK index 89c3b49f3b9..80e09b6a0e7 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK @@ -9,7 +9,11 @@ rn_android_library( ]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], required_for_source_only_abi = True, visibility = [ diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BUCK index b4d97de45e5..ac8fbcbc9f8 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/BUCK index 57fede4bc38..6ad9b0c9d96 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/BUCK index 58a81de76df..7355162b307 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK index 34c1ca31fce..0cad1b2e00a 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/BUCK index 8945f73c890..36bb281dc28 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/netinfo/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/netinfo/BUCK index 8690aa226ca..fc907537682 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/netinfo/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/netinfo/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK index 4e9a5e26079..9e0f1a24874 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK @@ -4,7 +4,11 @@ rn_android_library( name = "network", srcs = glob(["**/*.java"]), provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/BUCK index 01a06bc8154..ca94dfd7f26 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/timepicker/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/timepicker/BUCK index b494c4d7893..f1f6dc791a9 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/timepicker/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/timepicker/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK b/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK index 6e16ebfe191..e97f9ae9547 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/surface/BUCK b/ReactAndroid/src/main/java/com/facebook/react/surface/BUCK index 41001012cc4..ad6bcd33c4a 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/surface/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/surface/BUCK @@ -10,7 +10,11 @@ rn_android_library( deps = [ YOGA_TARGET, react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK b/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK index 0b91cc60729..17870c5aa5f 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK @@ -15,7 +15,11 @@ rn_android_library( ), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], required_for_source_only_abi = True, visibility = [ diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/BUCK b/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/BUCK index 8775085d510..f3b3d20aaaa 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], required_for_source_only_abi = True, visibility = [ diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/checkbox/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/checkbox/BUCK index ed9aecafe2d..3e2f34a0960 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/checkbox/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/checkbox/BUCK @@ -5,8 +5,12 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/common/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/common/BUCK index ea90e56cf58..a9d47513c2d 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/common/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/common/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["*.java"]), provided_deps = [ react_native_dep("third-party/java/jsr-305:jsr-305"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK index 4151ffca7b7..131f81dc93c 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK index 2e870070eea..3cddf8e7158 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK @@ -9,7 +9,11 @@ rn_android_library( srcs = IMAGE_EVENT_FILES, is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], required_for_source_only_abi = True, visibility = ["PUBLIC"], @@ -28,7 +32,11 @@ rn_android_library( ), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/picker/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/picker/BUCK index 1291385c0c3..b129567f579 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/picker/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/picker/BUCK @@ -5,8 +5,12 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK index 63f67b851ba..61a0be8a95f 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/slider/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/slider/BUCK index b717203f6b8..f8e9f22cbbc 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/slider/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/slider/BUCK @@ -9,8 +9,12 @@ rn_android_library( ], deps = [ YOGA_TARGET, - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/common:common"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/swiperefresh/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/swiperefresh/BUCK index 91f8fe21068..e889dfdcc22 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/swiperefresh/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/swiperefresh/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK index b86d46e7f1d..f70906c8ef4 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK @@ -5,8 +5,12 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/text/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/text/BUCK index 0a44dbe9004..62458f6ae26 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/text/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/text/BUCK @@ -10,8 +10,12 @@ rn_android_library( ], deps = [ YOGA_TARGET, - react_native_dep("third-party/android/support/v4:lib-support-v4"), - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/textinput/BUCK index 2ce3100e90f..9e80b0240bb 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/textinput/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], required_for_source_only_abi = True, visibility = [ diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/toolbar/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/toolbar/BUCK index 37c0c69d008..55d7e0c8ed8 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/toolbar/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/toolbar/BUCK @@ -5,8 +5,12 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/BUCK index 757acc069e0..41bdc06a822 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/BUCK @@ -5,8 +5,12 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), - react_native_dep("third-party/android/support/v7/appcompat:appcompat"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), + react_native_dep("third-party/android/androidx:appcompat"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK index 28218fd3460..c4f3a6e88b4 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], visibility = [ "PUBLIC", diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/viewpager/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/viewpager/BUCK index 34cfe9277c2..b05735a98ab 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/viewpager/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/viewpager/BUCK @@ -5,7 +5,11 @@ rn_android_library( srcs = glob(["**/*.java"]), is_androidx = True, provided_deps = [ - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), ], required_for_source_only_abi = True, visibility = [ diff --git a/ReactAndroid/src/test/java/com/facebook/react/BUCK b/ReactAndroid/src/test/java/com/facebook/react/BUCK index 8cdeff023e2..3b431158943 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/BUCK +++ b/ReactAndroid/src/test/java/com/facebook/react/BUCK @@ -7,7 +7,11 @@ rn_robolectric_test( deps = [ YOGA_TARGET, react_native_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/fest:fest"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/junit:junit"), diff --git a/ReactAndroid/src/test/java/com/facebook/react/modules/BUCK b/ReactAndroid/src/test/java/com/facebook/react/modules/BUCK index 8319a30de31..4cd9e7446e9 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/modules/BUCK +++ b/ReactAndroid/src/test/java/com/facebook/react/modules/BUCK @@ -10,7 +10,11 @@ rn_robolectric_test( deps = [ YOGA_TARGET, react_native_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/fest:fest"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/junit:junit"), diff --git a/ReactAndroid/src/test/java/com/facebook/react/uimanager/BUCK b/ReactAndroid/src/test/java/com/facebook/react/uimanager/BUCK index b9df6bf62a3..ad592a0dddf 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/uimanager/BUCK +++ b/ReactAndroid/src/test/java/com/facebook/react/uimanager/BUCK @@ -18,7 +18,11 @@ rn_robolectric_test( deps = [ YOGA_TARGET, react_native_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/fest:fest"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/junit:junit"), diff --git a/ReactAndroid/src/test/java/com/facebook/react/views/BUCK b/ReactAndroid/src/test/java/com/facebook/react/views/BUCK index de2c90b84f4..5b616f6630b 100644 --- a/ReactAndroid/src/test/java/com/facebook/react/views/BUCK +++ b/ReactAndroid/src/test/java/com/facebook/react/views/BUCK @@ -14,7 +14,11 @@ rn_robolectric_test( react_native_dep("libraries/fresco/fresco-react-native:fresco-react-native"), react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), - react_native_dep("third-party/android/support/v4:lib-support-v4"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/fest:fest"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/junit:junit"),