mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
052f69cde9
* ledger-api: Use `proto_jars`. CHANGELOG_BEGIN - [Ledger API] The Scala JARs containing the gRPC definitions no longer contain the *.proto files used to generate the ScalaPB-based classes. CHANGELOG_END * Create a source JAR for *.proto files in `proto_jars`. * ledger-api: Publish the protobuf sources as "ledger-api-proto". CHANGELOG_BEGIN - [Ledger API] The *.proto files containing the gRPC definitions are now provided by a new Maven Central artifact, with the group "com.daml" and the artifact name "ledger-api-proto". CHANGELOG_END * release: We don't need the "main-jar" option. * Bazel: Proto JARs will always have a Maven artifact suffix. * Bazel: Simplify Protobuf source file TAR and JAR targets. * Bazel: Extract out Protobuf functions.
21 lines
538 B
Python
21 lines
538 B
Python
# Copyright (c) 2020 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_library(
|
|
name = "grpc-utils",
|
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
|
tags = ["maven_coordinates=com.daml:grpc-utils:__VERSION__"],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
deps = [
|
|
"//ledger-api/grpc-definitions:ledger_api_proto_scala",
|
|
"@maven//:io_grpc_grpc_api",
|
|
],
|
|
)
|