-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathBUILD
More file actions
30 lines (25 loc) · 736 Bytes
/
BUILD
File metadata and controls
30 lines (25 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Copyright (c) 2020-2021, salesforce.com, inc.
# All rights reserved.
# Licensed under the BSD 3-Clause license.
# For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
#
load("@rules_java//java:defs.bzl", "java_library", "java_test")
deps = [
"@maven//:org_slf4j_slf4j_api",
]
test_deps = [
"@maven//:junit_junit",
"@maven//:org_hamcrest_hamcrest_core",
]
java_library(
name = "lib1",
srcs = glob(["src/main/java/**/*.java"]),
visibility = ["//visibility:public"],
deps = deps,
)
java_test(
name = "IntentionalDupedClassTest",
srcs = ["src/test/java/com/bazel/demo/IntentionalDupedClassTest.java"],
deps = [":lib1"] + test_deps,
)