Make tests runnable with Buck/OSS again
Summary: Fixes test execution for open source: - adds hamcrest jar and dependency, as required by buck (to not throw `"Unable to locate hamcrest on the classpath. Please add as a test dependency."`) - enables events for OSS, to make tests pass Reviewed By: SidharthGuglani Differential Revision: D16202542 fbshipit-source-id: a56069de162f739b3b989961b5dc00f3d37f5849
This commit is contained in:
committed by
Facebook Github Bot
parent
39e512f691
commit
1d0668692b
19
lib/hamcrest/BUCK
Normal file
19
lib/hamcrest/BUCK
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
load("//tools/build_defs/oss:yoga_defs.bzl", "YOGA_ROOTS", "yoga_java_library", "yoga_prebuilt_jar")
|
||||
|
||||
yoga_prebuilt_jar(
|
||||
name = "hamcrest-jar",
|
||||
binary_jar = "hamcrest-2.1.jar",
|
||||
)
|
||||
|
||||
yoga_java_library(
|
||||
name = "hamcrest",
|
||||
visibility = YOGA_ROOTS,
|
||||
exported_deps = [
|
||||
":hamcrest-jar",
|
||||
],
|
||||
)
|
BIN
lib/hamcrest/hamcrest-2.1.jar
Normal file
BIN
lib/hamcrest/hamcrest-2.1.jar
Normal file
Binary file not shown.
Reference in New Issue
Block a user