mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
aa70c7f64e
* Add buildifier targets. The tool allows to check and format BUILD files in the repo. To check if files are well formatted, run: bazel run //:buildifier To fix badly-formatted files run: bazel run //:buildifier-fix * Cleanup dade-copyright-headers formatting. * Fix dade-copyright-headers on files with just the copyright. * Run buildifier automatically on CI via 'fmt.sh'. * Reformat all BUILD files with buildifier. Excludes autogenerated Bazel files.
44 lines
1.5 KiB
Python
44 lines
1.5 KiB
Python
# Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
load(
|
|
"//bazel_tools:scala.bzl",
|
|
"da_scala_binary",
|
|
)
|
|
|
|
da_scala_binary(
|
|
name = "ledger-api-server-example",
|
|
srcs = glob(["src/**/*.scala"]),
|
|
main_class = "com.digitalasset.ledger.example.Main",
|
|
resources = glob(["src/main/resources/**/*"]),
|
|
scalacopts = [],
|
|
deps = [
|
|
"//3rdparty/jvm/com/typesafe/akka:akka_stream",
|
|
"//3rdparty/jvm/io/grpc:grpc_netty",
|
|
"//3rdparty/jvm/io/netty:netty_handler",
|
|
"//3rdparty/jvm/org/reactivestreams:reactive_streams",
|
|
"//3rdparty/jvm/org/scalaz:scalaz_concurrent",
|
|
"//3rdparty/jvm/org/scalaz:scalaz_core",
|
|
"//3rdparty/jvm/org/slf4j:slf4j_api",
|
|
"//daml-lf/archive:daml_lf_archive_scala",
|
|
"//daml-lf/archive:daml_lf_java_proto",
|
|
"//daml-lf/data",
|
|
"//daml-lf/engine",
|
|
"//daml-lf/interpreter",
|
|
"//daml-lf/lfpackage",
|
|
"//daml-lf/transaction",
|
|
"//daml-lf/transaction/src/main/protobuf:transaction_java_proto",
|
|
"//daml-lf/transaction/src/main/protobuf:value_java_proto",
|
|
"//language-support/scala/bindings",
|
|
"//ledger-api/rs-grpc-akka",
|
|
"//ledger-api/rs-grpc-bridge",
|
|
"//ledger/backend-api",
|
|
"//ledger/ledger-api-akka",
|
|
"//ledger/ledger-api-client",
|
|
"//ledger/ledger-api-common",
|
|
"//ledger/ledger-api-domain",
|
|
"//ledger/ledger-api-scala-logging",
|
|
"//ledger/sandbox",
|
|
],
|
|
)
|