daml/daml-lf/data/BUILD.bazel

41 lines
1022 B
Python
Raw Normal View History

2019-08-13 19:23:03 +03:00
# Copyright (c) 2019 The DAML Authors. All rights reserved.
2019-04-04 11:33:38 +03:00
# SPDX-License-Identifier: Apache-2.0
load(
"//bazel_tools:scala.bzl",
"da_scala_library",
"da_scala_test",
"lf_scalacopts",
2019-04-04 11:33:38 +03:00
)
da_scala_library(
name = "data",
srcs = glob(["src/main/**/*.scala"]),
plugins = [
"@maven//:org_spire_math_kind_projector_2_12",
],
scalacopts = lf_scalacopts,
tags = ["maven_coordinates=com.digitalasset:daml-lf-data:__VERSION__"],
visibility = [
"//visibility:public",
],
deps = [
"@maven//:com_google_protobuf_protobuf_java",
"@maven//:org_scalaz_scalaz_core_2_12",
],
2019-04-04 11:33:38 +03:00
)
da_scala_test(
name = "data-test",
size = "small",
srcs = glob(["src/test/**/*.scala"]),
scalacopts = lf_scalacopts,
deps = [
":data",
"//daml-lf/data-scalacheck",
"@maven//:org_scalacheck_scalacheck_2_12",
"@maven//:org_scalaz_scalaz_core_2_12",
"@maven//:org_scalaz_scalaz_scalacheck_binding_2_12",
],
2019-04-04 11:33:38 +03:00
)