forked from salesforce/formula-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
25 lines (19 loc) · 980 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#bazel file to work with for local build
#https://confluence.internal.salesforce.com/display/COREBUILD/Work+With+Bazel+Packages#WorkWithBazelPackages-HowtousetheSNAPSHOTversionofoff-coreMavenartifactswithaBazelbuild
load("@rules_java//java:defs.bzl", "java_import")
package(default_visibility = ["//visibility:public"])
java_import(
name = "com_salesforce_formula_formula_engine_api",
jars = glob(["api/target/formula-engine-*-SNAPSHOT.jar"]),
srcjar = glob(["api/target/formula-engine-*-SNAPSHOT-sources.jar"])[0],
)
java_import(
name = "com_salesforce_formula_formula_engine_impl",
jars = glob(["impl/target/formula-engine-*-SNAPSHOT.jar"]),
srcjar = glob(["impl/target/formula-engine-*-SNAPSHOT-sources.jar"])[0],
)
java_import(
name = "com_salesforce_formula_formula_engine_test_utils",
jars = glob(["test-utils/target/formula-engine-*-SNAPSHOT.jar"]),
srcjar = glob(["test-utils/target/formula-engine-*-SNAPSHOT-sources.jar"])[0],
)