mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
fa7663148a
I’ve kept the infrastructure for versioned_scala_deps around because I’m optimistic and hope that eventually we’ll do another Scala upgrade. changelog_begin changelog_end
48 lines
1.4 KiB
Python
48 lines
1.4 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",
|
|
)
|
|
|
|
da_scala_library(
|
|
name = "grpc-reverse-proxy",
|
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
|
tags = ["maven_coordinates=com.daml:grpc-reverse-proxy:__VERSION__"],
|
|
visibility = [
|
|
"//:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//libs-scala/grpc-server-reflection-client",
|
|
"//libs-scala/resources",
|
|
"//libs-scala/resources-grpc",
|
|
"@maven//:com_google_guava_guava",
|
|
"@maven//:io_grpc_grpc_api",
|
|
"@maven//:io_grpc_grpc_services",
|
|
"@maven//:io_grpc_grpc_stub",
|
|
"@maven//:io_netty_netty_common",
|
|
"@maven//:io_netty_netty_transport",
|
|
],
|
|
)
|
|
|
|
da_scala_test_suite(
|
|
name = "test",
|
|
srcs = glob(["src/test/scala/**/*.scala"]),
|
|
deps = [
|
|
":grpc-reverse-proxy",
|
|
"//libs-scala/grpc-test-utils",
|
|
"//libs-scala/grpc-utils",
|
|
"//libs-scala/resources",
|
|
"//libs-scala/resources-grpc",
|
|
"@maven//:com_google_protobuf_protobuf_java",
|
|
"@maven//:io_grpc_grpc_api",
|
|
"@maven//:io_grpc_grpc_core",
|
|
"@maven//:io_grpc_grpc_services",
|
|
"@maven//:io_grpc_grpc_stub",
|
|
"@maven//:io_netty_netty_common",
|
|
"@maven//:io_netty_netty_transport",
|
|
],
|
|
)
|