mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
3a8f5e8aaa
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
38 lines
1.0 KiB
Python
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",
|
|
],
|
|
)
|