2020-03-27 03:26:10 +03:00
|
|
|
# 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(
|
2019-04-12 14:10:16 +03:00
|
|
|
"//bazel_tools:scala.bzl",
|
|
|
|
"da_scala_library",
|
2019-04-04 11:33:38 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
da_scala_library(
|
2019-04-12 14:10:16 +03:00
|
|
|
name = "ledger-api-domain",
|
|
|
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
2020-04-01 12:41:18 +03:00
|
|
|
tags = ["maven_coordinates=com.daml:ledger-api-domain:__VERSION__"],
|
2019-04-12 14:10:16 +03:00
|
|
|
visibility = [
|
|
|
|
"//visibility:public",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//daml-lf/data",
|
2019-04-26 02:15:12 +03:00
|
|
|
"//daml-lf/transaction",
|
2019-12-13 20:58:44 +03:00
|
|
|
"//ledger/participant-state",
|
2019-10-28 15:53:14 +03:00
|
|
|
"@maven//:io_zipkin_brave_brave",
|
|
|
|
"@maven//:org_scalaz_scalaz_core_2_12",
|
2019-04-12 14:10:16 +03:00
|
|
|
],
|
2019-04-04 11:33:38 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
da_scala_library(
|
2019-04-12 14:10:16 +03:00
|
|
|
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",
|
2019-10-28 15:53:14 +03:00
|
|
|
"@maven//:org_scalaz_scalaz_core_2_12",
|
2019-04-04 11:33:38 +03:00
|
|
|
],
|
|
|
|
)
|