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
This commit is contained in:
Dulmandakh 2018-08-21 17:12:50 -07:00 committed by Facebook Github Bot
parent 833954a669
commit f884a1be69
3 changed files with 8 additions and 2 deletions

View File

@ -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'

View File

@ -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",
)