mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This PR clears buck binary_jar warnings on CI. CI is green https://circleci.com/gh/dulmandakh/react-native/458 Will see no binary_jar warnings on CI Closes https://github.com/facebook/react-native/pull/19769 Reviewed By: mdvacca Differential Revision: D8474558 Pulled By: hramos fbshipit-source-id: a1e34a749218a6f87576475e49cbab52b0d3fafb
35 lines
782 B
Python
35 lines
782 B
Python
load("//ReactNative:DEFS.bzl", "rn_android_library", "rn_prebuilt_jar")
|
|
|
|
rn_android_library(
|
|
name = "junit",
|
|
visibility = ["//ReactAndroid/..."],
|
|
exported_deps = [
|
|
":hamcrest",
|
|
":junit-core",
|
|
],
|
|
)
|
|
|
|
rn_prebuilt_jar(
|
|
name = "junit-core",
|
|
binary_jar = ":download-junit.jar",
|
|
visibility = ["//ReactAndroid/..."],
|
|
)
|
|
|
|
remote_file(
|
|
name = "download-junit.jar",
|
|
sha1 = "2973d150c0dc1fefe998f834810d68f278ea58ec",
|
|
url = "mvn:junit:junit:jar:4.12",
|
|
)
|
|
|
|
rn_prebuilt_jar(
|
|
name = "hamcrest",
|
|
binary_jar = ":download-hamcrest.jar",
|
|
visibility = ["//ReactAndroid/..."],
|
|
)
|
|
|
|
remote_file(
|
|
name = "download-hamcrest.jar",
|
|
sha1 = "63a21ebc981131004ad02e0434e799fd7f3a8d5a",
|
|
url = "mvn:org.hamcrest:hamcrest-all:jar:1.3",
|
|
)
|