From 172f990dcf793e71a61456b7daa46c184c8727db Mon Sep 17 00:00:00 2001 From: Ian Childs Date: Thu, 10 Feb 2022 07:44:32 -0800 Subject: [PATCH] exported and provided dep should be exported_provided_dep Reviewed By: astreet Differential Revision: D34108185 fbshipit-source-id: 72a6c9fb3654d674df405faac49dfbe67fe193b7 --- ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK b/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK index 4e8f3143ce6..1d3b290ca3a 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK @@ -14,10 +14,12 @@ rn_android_library( ], ), autoglob = False, + exported_provided_deps = [ + react_native_dep("third-party/android/androidx:annotation"), + ], is_androidx = True, labels = ["supermodule:xplat/default/public.react_native.infra"], provided_deps = [ - 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"), @@ -51,7 +53,6 @@ rn_android_library( ], exported_deps = [ ":DisplayMetrics", - react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/uimanager/common:common"), react_native_target("java/com/facebook/react/uimanager/interfaces:interfaces"),