From f884a1be69def7a9d629fc21596a4ec61a76ad4e Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Tue, 21 Aug 2018 17:12:50 -0700 Subject: [PATCH] use latest infer-annotations from maven (#20599) Summary: This PR removes infer-annotation from the repo and uses latest version of it from maven. Pull Request resolved: https://github.com/facebook/react-native/pull/20599 Differential Revision: D9437594 Pulled By: hramos fbshipit-source-id: 93c33041dd8a61b220c352fb187a23bb2dd1b4db --- ReactAndroid/build.gradle | 2 +- .../third-party/java/infer-annotations/BUCK | 8 +++++++- .../infer-annotations/infer-annotations-4.0.jar | Bin 14300 -> 0 bytes 3 files changed, 8 insertions(+), 2 deletions(-) delete mode 100644 ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index 81c74385c..7e92d969d 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -293,7 +293,7 @@ android { } dependencies { - compile fileTree(dir: 'src/main/third-party/java/infer-annotations/', include: ['*.jar']) + compile 'com.facebook.infer.annotation:infer-annotation:0.11.2' compile 'javax.inject:javax.inject:1' compile 'com.android.support:appcompat-v7:27.1.1' compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.0.0' diff --git a/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK b/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK index 548d17fe7..1862f176a 100644 --- a/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK +++ b/ReactAndroid/src/main/third-party/java/infer-annotations/BUCK @@ -1,5 +1,11 @@ prebuilt_jar( name = "infer-annotations", - binary_jar = "infer-annotations-4.0.jar", + binary_jar = ":infer-annotations.jar", visibility = ["//ReactAndroid/..."], ) + +remote_file( + name = "infer-annotations.jar", + sha1 = "f514ff4ca022a579d9cf7524846988b646ae4491", + url = "mvn:com.facebook.infer.annotation:infer-annotation:jar:0.11.2", +) \ No newline at end of file diff --git a/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar b/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar deleted file mode 100644 index 418995d9a5df9fbed5c156542b18e3132d7a138e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14300 zcmb7K2RPO3`jW6xu+gkxkUlo44;wvfFeGoui)GeY*J{@~(&Hh^jMB(tL-M*?gCXj(#qKnSYMx$_x=*99*o`I%ExU>G&n~ zw$YCyfGutVzp$4;gM$NJ?Cdu{1paGmXT$OLCounc!W3i-HnOv`I_FXRvyWQXnt~zc zETH)J1t42nJ13Bng`Ms3+JDEM{lc|kj*egmOp7DCu{FriFsduhtsa zSzqfQ@T_Jj=)O7r$u4qpuMRr}PQO79{xYGHzKm#-A2B<9QE)XeJ6%+BG%-5^s)r`V zpcCt&4rrcZIAZw;v5{$6BTn6yTay?PiDgZ161Tj+#pWH6=4IqcrR&a(i)sWtE!vD zrRha6HrxAGjwzm25!3r|c2!FL*J$YO&gE?z-F3seC2MrOQRg1Gb;o*+YWQpB*fupm z2B??t+um|nhKpCuzEOuq_V5jl`lIW;H`7YQ9NUfh-&pM_R!tHO&>XRDt>POIwaGrD z%}6cM5?d$8bz^&X%{5>}sCsKk3hLkfqaqFM?YdN|{xw5hvjsoyk8(Y1gYHJ566uBU zp45&ET{XemT6!46G7q@=^gcNY*=nYg>Uj-d=xKYpJ`+ry^U!eVJ=|V!#f|fW3KrxX zW|kk=C>gcdcxc`qBn%83enS@OXG|5q+q7`k%fUypRrzv$`n~7DWS333jPJpx3&+OuUb)tw(_-BRN=;@r-Vo>xYlKPWw}O=1U5Vw2v@|V z-$+UCpl43GFkBIzF8>gMCYr!2a0w;!P>yW#F z)Q!5YuMzG=%jZ;?&q}{PTe!6Vdi3G4H`_a#{P z!J2Az*asj>ymTI@92bHr1+sPoE88kLTU-BvRahQD41iTpXVU@D@3B`yA1*uDkKxfYWvUXd6)Fw%DxcTk5kBvQLxkS6 z4oMRsU#j&b4&vWOf&r?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