mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
498fcc66b4
CHANGELOG_BEGIN CHANGELOG_END
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
load(
|
|
"//bazel_tools:scala.bzl",
|
|
"da_scala_library",
|
|
"da_scala_test_suite",
|
|
"lf_scalacopts",
|
|
)
|
|
load("//bazel_tools:scala.bzl", "silencer_plugin")
|
|
|
|
da_scala_library(
|
|
name = "kv-transaction-support",
|
|
srcs = glob(["src/main/**/*.scala"]),
|
|
scala_deps = [
|
|
"@maven//:org_scalaz_scalaz_core",
|
|
],
|
|
scalacopts = lf_scalacopts,
|
|
tags = ["maven_coordinates=com.daml:daml-lf-kv-transaction-support:__VERSION__"],
|
|
visibility = ["//ledger/participant-state/kvutils:__subpackages__"],
|
|
deps = [
|
|
"//daml-lf/data",
|
|
"//daml-lf/transaction",
|
|
],
|
|
)
|
|
|
|
da_scala_test_suite(
|
|
name = "test",
|
|
srcs = glob(["src/test/**/*.scala"]),
|
|
scala_deps = [
|
|
"@maven//:org_scalaz_scalaz_core",
|
|
"@maven//:org_scalacheck_scalacheck",
|
|
"@maven//:org_scalatest_scalatest",
|
|
"@maven//:org_scalatestplus_scalacheck_1_14",
|
|
],
|
|
scalacopts = lf_scalacopts,
|
|
deps = [
|
|
":kv-transaction-support",
|
|
"//daml-lf/data",
|
|
"//daml-lf/transaction",
|
|
"//daml-lf/transaction-test-lib",
|
|
],
|
|
)
|