daml/ledger/ledger-resources/BUILD.bazel
Moritz Kiefer 3a8f5e8aaa
Port //language-support/scala to Scala 2.13 (#8442)
The one thing that is still missing is making the generated Scala code
from the codegen compatible with Scala 2.13 so the examples are
excluded for now.

changelog_begin
changelog_end
2021-01-08 20:28:15 +01:00

38 lines
1.0 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 = "ledger-resources",
srcs = glob(["src/main/scala/**/*.scala"]),
scala_deps = [
"@maven//:com_typesafe_akka_akka_actor",
"@maven//:com_typesafe_akka_akka_stream",
],
tags = ["maven_coordinates=com.daml:ledger-resources:__VERSION__"],
visibility = [
"//visibility:public",
],
deps = [
"//libs-scala/resources",
"//libs-scala/resources-akka",
],
)
da_scala_library(
name = "ledger-resources-test-lib",
srcs = glob(["src/test/lib/scala/**/*.scala"]),
scala_deps = [
"@maven//:org_scalactic_scalactic",
"@maven//:org_scalatest_scalatest",
],
tags = ["maven_coordinates=com.daml:ledger-resources-test-lib:__VERSION__"],
visibility = [
"//visibility:public",
],
deps = [
":ledger-resources",
],
)