daml/ledger/ledger-api-akka/BUILD.bazel
Gerolf Seitz 329320bad9
Organize maven coordinates (#5272)
* Use com.daml as groupId for all artifacts

CHANGELOG_BEGIN
[SDK] Changed the groupId for Maven artifacts to ``com.daml``.
CHANGELOG_END

* Add 2 additional maven related checks to the release binary

1. Check that all maven upload artifacts use com.daml as the groupId
2. Check that all maven upload artifacts have a unique artifactId

* Address @cocreature's comments in https://github.com/digital-asset/daml/pull/5272#pullrequestreview-385026181
2020-04-01 11:41:18 +02:00

42 lines
1.4 KiB
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")
load("//bazel_tools:proto.bzl", "proto_gen")
proto_gen(
name = "ledger-api-akka-srcs",
srcs = [
"//ledger-api/grpc-definitions:protos",
"@com_github_grpc_grpc//src/proto/grpc/health/v1:health_proto_descriptor",
],
plugin_exec = "//scala-protoc-plugins/scala-akka:protoc-gen-scala-akka",
plugin_name = "scala-akka",
deps = [
"@com_github_googleapis_googleapis//google/rpc:status_proto",
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:descriptor_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:timestamp_proto",
"@com_google_protobuf//:wrappers_proto",
],
)
da_scala_library(
name = "ledger-api-akka",
srcs = [":ledger-api-akka-srcs"],
tags = ["maven_coordinates=com.daml:ledger-api-akka:__VERSION__"],
visibility = [
"//visibility:public",
],
deps = [
"//ledger-api/grpc-definitions:ledger-api-scalapb",
"//ledger-api/rs-grpc-akka",
"//ledger-api/rs-grpc-bridge",
"@maven//:com_typesafe_akka_akka_actor_2_12",
"@maven//:com_typesafe_akka_akka_stream_2_12",
"@maven//:io_grpc_grpc_stub",
],
)