daml/canton/it-lib/BUILD.bazel

49 lines
1.5 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",
"lf_scalacopts_stricter",
)
da_scala_library(
name = "it-lib",
srcs = glob(["src/main/**/*.scala"]),
data = [
"//canton:canton-patched_deploy.jar",
"//canton:canton_deploy.jar",
"//test-common/test-certificates",
],
scala_deps = [
"@maven//:com_typesafe_akka_akka_stream",
"@maven//:io_spray_spray_json",
"@maven//:org_scalactic_scalactic",
"@maven//:org_scalatest_scalatest_core",
"@maven//:org_scalaz_scalaz_core",
],
scalacopts = lf_scalacopts_stricter,
visibility = ["//visibility:public"],
deps = [
"//bazel_tools/runfiles:scala_runfiles",
"//daml-lf/archive:daml_lf_archive_reader",
"//daml-lf/data",
"//language-support/scala/bindings",
"//language-support/scala/bindings-akka",
"//ledger-api/rs-grpc-bridge",
"//ledger-api/testing-utils",
"//ledger/ledger-api-auth",
"//ledger/ledger-api-common",
"//libs-scala/fs-utils",
"//libs-scala/jwt",
"//libs-scala/ledger-resources",
"//libs-scala/ports",
"//libs-scala/ports:ports-testing",
"//libs-scala/resources",
"//libs-scala/scala-utils",
"//libs-scala/timer-utils",
"//test-common",
"@maven//:org_scalatest_scalatest_compatible",
],
)