daml/ledger-test-tool/runner/BUILD.bazel

36 lines
1.2 KiB
Python

# Copyright (c) 2023 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",
)
load("@os_info//:os_info.bzl", "is_windows")
load("//ledger-test-tool:conformance.bzl", "testtool_lf_versions")
[
da_scala_library(
name = "runner-%s" % lf_version,
srcs = glob([
"src/main/scala/**/*.scala",
]),
tags = ["maven_coordinates=com.daml:ledger-api-tests-runner-%s:__VERSION__" % lf_version],
visibility = ["//:__subpackages__"],
runtime_deps = [
"@maven//:ch_qos_logback_logback_classic",
],
deps = [
"//ledger/ledger-api-common",
"//ledger-test-tool/infrastructure:infrastructure-%s" % lf_version,
"//libs-scala/resources",
"//libs-scala/resources-grpc",
"//libs-scala/resources-pekko",
"@maven//:io_grpc_grpc_api",
"@maven//:io_grpc_grpc_netty",
"@maven//:io_netty_netty_handler",
"@maven//:org_slf4j_slf4j_api",
],
)
for lf_version in testtool_lf_versions
]