daml/ledger/ledger-api-domain/BUILD.bazel

43 lines
1.0 KiB
Python
Raw Normal View History

# Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. 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",
2019-04-04 11:33:38 +03:00
)
da_scala_library(
name = "ledger-api-domain",
srcs = glob(["src/main/scala/**/*.scala"]),
tags = ["maven_coordinates=com.daml:ledger-api-domain:__VERSION__"],
visibility = [
"//visibility:public",
],
deps = [
"//daml-lf/data",
"//daml-lf/transaction",
"//ledger/participant-state",
"@maven//:io_zipkin_brave_brave",
"@maven//:org_scalaz_scalaz_core_2_12",
],
2019-04-04 11:33:38 +03:00
)
da_scala_library(
name = "ledger-api-domain-tests-lib",
srcs = glob(
["src/test/**/*.scala"],
exclude = [
"src/test/**/*Spec.scala",
"src/test/**/*Test.scala",
],
),
visibility = [
"//visibility:public",
],
deps = [
":ledger-api-domain",
"//daml-lf/data",
"@maven//:org_scalaz_scalaz_core_2_12",
2019-04-04 11:33:38 +03:00
],
)