From b5c94e316cc9b4ff090d8daa8970bf1becf77959 Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Tue, 13 Jul 2021 15:07:18 -0700 Subject: [PATCH] RN: Upgrade `infer-annotation` to 0.18.0 (#31856) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/31856 Upgrades `infer-annotation` to 0.18.0 so that we can use `Nullsafe` in Android Java. I found this when looking at the "Bazel" steps on this page: https://search.maven.org/artifact/com.facebook.infer.annotation/infer-annotation/0.18.0/jar Changelog: [Android][Changed] - Upgraded `infer-annotation` to 0.18.0. Reviewed By: mdvacca, ShikaSD Differential Revision: D29685321 fbshipit-source-id: a017ad29355c4790bffa8bcd349336e51261f83e --- ReactAndroid/build.gradle | 2 +- ReactAndroid/src/main/third-party/java/infer-annotations/BUCK | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index c8c7a460b77f05..206bfecdc96b4b 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -496,7 +496,7 @@ android { } dependencies { - api("com.facebook.infer.annotation:infer-annotation:0.11.2") + api("com.facebook.infer.annotation:infer-annotation:0.18.0") api("com.facebook.yoga:proguard-annotations:1.19.0") api("javax.inject:javax.inject:1") api("androidx.appcompat:appcompat:1.0.2") diff --git a/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK b/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK index 9cf53d29a79beb..2fd4c3bf633f34 100644 --- a/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK +++ b/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK @@ -9,6 +9,6 @@ rn_prebuilt_jar( fb_native.remote_file( name = "infer-annotations.jar", - sha1 = "f514ff4ca022a579d9cf7524846988b646ae4491", - url = "mvn:com.facebook.infer.annotation:infer-annotation:jar:0.11.2", + sha1 = "27539793fe93ed7d92b6376281c16cda8278ab2f", + url = "mvn:com.facebook.infer.annotation:infer-annotation:jar:0.18.0", )