daml/compiler/repl-service/server/BUILD.bazel
Gary Verhaegen 151e12b81a
bump copyright (#16002)
This is the result of:

- Updating `./COPY` to say `2023`.
- Running `./dev-env/bin/dade-copyright-headers update .`
2023-01-04 18:21:15 +01:00

53 lines
1.6 KiB
Python

# Copyright (c) 2023 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",
"lf_scalacopts_stricter",
)
genrule(
name = "repl_service_jar",
srcs = [":repl-service-raw_deploy.jar"],
outs = ["repl-service.jar"],
cmd = "cp $< $@",
visibility = ["//visibility:public"],
)
da_scala_binary(
name = "repl-service-raw",
srcs = glob(["src/main/scala/**/*.scala"]),
main_class = "com.daml.lf.speedy.repl.ReplServiceMain",
resources = ["src/main/resources/logback.xml"],
scala_deps = [
"@maven//:com_github_scopt_scopt",
"@maven//:io_spray_spray_json",
"@maven//:org_scalaz_scalaz_core",
],
scalacopts = lf_scalacopts_stricter,
runtime_deps = [
"@maven//:ch_qos_logback_logback_classic",
],
deps = [
"//compiler/repl-service/protos:repl_service_java_proto",
"//daml-lf/archive:daml_lf_archive_reader",
"//daml-lf/data",
"//daml-lf/interpreter",
"//daml-lf/language",
"//daml-lf/transaction",
"//daml-script/runner:script-runner-lib",
"//language-support/scala/bindings-akka",
"//ledger-api/rs-grpc-bridge",
"//ledger-service/cli-opts",
"//ledger-service/lf-value-json",
"//ledger/ledger-api-common",
"//libs-scala/auth-utils",
"//libs-scala/scala-utils",
"@maven//:io_grpc_grpc_api",
"@maven//:io_grpc_grpc_core",
"@maven//:io_grpc_grpc_netty",
"@maven//:io_grpc_grpc_stub",
],
)