Skip to content

Commit 5e89f47

Browse files
dulmandakhKusStar
authored andcommitted
use latest infer-annotations from maven (facebook#20599)
Summary: This PR removes infer-annotation from the repo and uses latest version of it from maven. Pull Request resolved: facebook#20599 Differential Revision: D9437594 Pulled By: hramos fbshipit-source-id: 93c33041dd8a61b220c352fb187a23bb2dd1b4db
1 parent 5ced4b8 commit 5e89f47

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

ReactAndroid/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ android {
295295
}
296296

297297
dependencies {
298-
compile fileTree(dir: 'src/main/third-party/java/infer-annotations/', include: ['*.jar'])
298+
compile 'com.facebook.infer.annotation:infer-annotation:0.11.2'
299299
compile 'javax.inject:javax.inject:1'
300300
compile 'com.android.support:appcompat-v7:28.0.0'
301301
compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.0.0'
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
prebuilt_jar(
22
name = "infer-annotations",
3-
binary_jar = "infer-annotations-4.0.jar",
3+
binary_jar = ":infer-annotations.jar",
44
visibility = ["//ReactAndroid/..."],
55
)
6+
7+
remote_file(
8+
name = "infer-annotations.jar",
9+
sha1 = "f514ff4ca022a579d9cf7524846988b646ae4491",
10+
url = "mvn:com.facebook.infer.annotation:infer-annotation:jar:0.11.2",
11+
)

0 commit comments

Comments
 (0)