Files
react-native/ReactAndroid/src/main/third-party/java/junit/BUCK
T
Dulmandakh 04366a9867 clean buck binary_jar warnings (#19769)
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
2018-06-26 10:46:52 -07:00

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