2019-04-11 19:05:08 +03:00
|
|
|
# Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
load(
|
2019-04-12 14:10:16 +03:00
|
|
|
"//bazel_tools:scala.bzl",
|
|
|
|
"da_scala_library",
|
|
|
|
"da_scala_test_suite",
|
2019-04-11 19:05:08 +03:00
|
|
|
)
|
|
|
|
|
2019-04-25 15:58:37 +03:00
|
|
|
compileDependencies = [
|
|
|
|
"//3rdparty/jvm/com/typesafe/akka:akka_stream",
|
|
|
|
"//daml-lf/archive:daml_lf_java_proto",
|
|
|
|
"//daml-lf/data",
|
2019-06-19 15:31:53 +03:00
|
|
|
"//daml-lf/language",
|
2019-04-25 15:58:37 +03:00
|
|
|
"//daml-lf/transaction",
|
|
|
|
"//ledger/ledger-api-domain",
|
|
|
|
]
|
|
|
|
|
2019-04-11 19:05:08 +03:00
|
|
|
da_scala_library(
|
2019-06-11 11:00:02 +03:00
|
|
|
name = "participant-state-index-v1",
|
2019-05-23 09:16:10 +03:00
|
|
|
srcs = glob(["src/main/scala/com/daml/ledger/participant/state/index/v1/*.scala"]),
|
2019-04-12 14:10:16 +03:00
|
|
|
resources = glob(["src/main/resources/**/*"]),
|
2019-06-11 11:00:02 +03:00
|
|
|
tags = ["maven_coordinates=com.daml.ledger:participant-state-index-v1:__VERSION__"],
|
2019-04-12 14:10:16 +03:00
|
|
|
visibility = [
|
|
|
|
"//visibility:public",
|
|
|
|
],
|
|
|
|
runtime_deps = [],
|
2019-06-11 11:00:02 +03:00
|
|
|
deps = compileDependencies + ["//ledger/participant-state:participant-state-v1"],
|
2019-05-23 09:16:10 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
da_scala_library(
|
2019-06-11 11:00:02 +03:00
|
|
|
name = "participant-state-index",
|
2019-05-23 09:16:10 +03:00
|
|
|
srcs = glob(["src/main/scala/com/daml/ledger/participant/state/index/v2/*.scala"]),
|
|
|
|
resources = glob(["src/main/resources/**/*"]),
|
2019-06-11 11:00:02 +03:00
|
|
|
tags = ["maven_coordinates=com.daml.ledger:participant-state-index:__VERSION__"],
|
2019-05-23 09:16:10 +03:00
|
|
|
visibility = [
|
|
|
|
"//visibility:public",
|
|
|
|
],
|
|
|
|
runtime_deps = [],
|
|
|
|
deps = compileDependencies + ["//3rdparty/jvm/org/scalaz:scalaz_core"],
|
2019-04-11 19:05:08 +03:00
|
|
|
)
|