From c69c14374d4c006eff5c5921222de0be7bbc7f32 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 23 May 2022 03:17:52 -0700 Subject: [PATCH] Attempt to fix test_android by specifying source 8 (#33890) Summary: `test_android` is currently broken as it tries to build with `source = "7"` (the default). This is a best guess fix to try to fix this issue. ## Changelog [Internal] - Attempt to fix test_android by specifying source 8 Pull Request resolved: https://github.com/facebook/react-native/pull/33890 Test Plan: Will rely on CI Reviewed By: cipolleschi Differential Revision: D36589814 Pulled By: cortinico fbshipit-source-id: 8ef50f8531b9d4367d2f2c75a312e8fdaf38fd85 --- ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK b/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK index 226e87b5c97..f6cb63b14df 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK @@ -27,6 +27,8 @@ rn_android_library( ], pure_kotlin = False, required_for_source_only_abi = True, + source = "8", + target = "8", visibility = [ "PUBLIC", ],