mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
96f16df3c0
Basically we remove the dependency of different components on "//language-support/scala/bindings" by: - replacing com.daml.ledger.api.refinements.ApiTypes.Party by com.daml.lf.data.Ref.Party - replacing com.daml.ledger.api.refinements.ApiTypes.ApplicationId by Option[com.daml.lf.data.Ref.ApplicationId] (here we use option as ApiTypes.ApplicationId allows empty string while Ref.ApplicationId does not). - adding rounding logic for timestamp in com.daml.lf.data.Time.Timestamp and use it instead of the one from com.daml.api.util.TimestampConversion Note we did not clean daml-sript export as it have never pass the alpha stage and will be dropped with the 3.x fork.
54 lines
1.7 KiB
Python
54 lines
1.7 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_library",
|
|
"lf_scalacopts_stricter",
|
|
)
|
|
|
|
da_scala_library(
|
|
name = "it-lib",
|
|
srcs = glob(["src/main/**/*.scala"]),
|
|
data = [
|
|
"//canton:community_app_deploy.jar",
|
|
"//test-common/test-certificates",
|
|
],
|
|
scala_deps = [
|
|
"@maven//:io_spray_spray_json",
|
|
"@maven//:org_apache_pekko_pekko_actor",
|
|
"@maven//:org_apache_pekko_pekko_stream",
|
|
"@maven//:org_scalactic_scalactic",
|
|
"@maven//:org_scalatest_scalatest_core",
|
|
"@maven//:org_scalaz_scalaz_core",
|
|
],
|
|
scalacopts = lf_scalacopts_stricter,
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//bazel_tools/runfiles:scala_runfiles",
|
|
"//canton:ledger_api_proto_scala",
|
|
"//daml-lf/archive:daml_lf_archive_reader",
|
|
"//daml-lf/data",
|
|
"//ledger/ledger-api-auth",
|
|
"//ledger/ledger-api-client",
|
|
"//ledger/ledger-api-common",
|
|
"//ledger/ledger-api-domain",
|
|
"//libs-scala/fs-utils",
|
|
"//libs-scala/jwt",
|
|
"//libs-scala/ledger-resources",
|
|
"//libs-scala/ports",
|
|
"//libs-scala/ports:ports-testing",
|
|
"//libs-scala/resources",
|
|
"//libs-scala/rs-grpc-bridge",
|
|
"//libs-scala/scala-utils",
|
|
"//libs-scala/testing-utils",
|
|
"//libs-scala/timer-utils",
|
|
"@maven//:ch_qos_logback_logback_classic",
|
|
"@maven//:ch_qos_logback_logback_core",
|
|
"@maven//:io_grpc_grpc_api",
|
|
"@maven//:io_grpc_grpc_netty",
|
|
"@maven//:io_netty_netty_handler",
|
|
"@maven//:org_scalatest_scalatest_compatible",
|
|
],
|
|
)
|