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 418995d9a..000000000 Binary files a/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar and /dev/null differ