daml/runtime-components/non-repudiation-client/BUILD.bazel
Stefano Baghino f1cd4b1c7c
Remove dependencies on compatibility libraries (#12548)
Continues the work started in https://github.com/digital-asset/daml/pull/12543

These libraries were only needed to transition from Scala 2.12 to 2.13
and are no longer useful as all the necessary items are now available
in Scala 2.13.

changelog_begin
changelog_end
2022-01-24 18:04:07 +00:00

50 lines
1.6 KiB
Python

# Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load("//bazel_tools:java.bzl", "da_java_library")
load("//bazel_tools:scala.bzl", "da_scala_test")
da_java_library(
name = "non-repudiation-client",
srcs = glob(["src/main/java/**/*.java"]),
tags = [
"javadoc_root_packages=com.daml.nonrepudiation.client",
"maven_coordinates=com.daml:non-repudiation-client:__VERSION__",
],
visibility = [
"//:__subpackages__",
],
deps = [
"//language-support/java/bindings:bindings-java",
"//runtime-components/non-repudiation-core",
"@maven//:com_google_guava_guava",
"@maven//:io_grpc_grpc_api",
"@maven//:io_grpc_grpc_stub",
],
)
da_scala_test(
name = "test",
srcs = glob(["src/test/scala/**/*.scala"]),
resources = [
"src/test/resources/logback-test.xml",
],
runtime_deps = [
"@maven//:ch_qos_logback_logback_classic",
],
deps = [
"//language-support/java/bindings:bindings-java",
"//language-support/java/bindings-rxjava",
"//ledger-api/grpc-definitions:ledger_api_proto_scala",
"//libs-scala/resources",
"//libs-scala/resources-grpc",
"//runtime-components/non-repudiation",
"//runtime-components/non-repudiation-client",
"//runtime-components/non-repudiation-testing",
"@maven//:io_grpc_grpc_api",
"@maven//:io_grpc_grpc_core",
"@maven//:io_grpc_grpc_netty",
"@maven//:io_reactivex_rxjava2_rxjava",
],
)