mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
1b32044a74
* Build //libs-scala/... on 2.13 One test is unfortunately disabled at the moment since I utterly failed to figure out why I get a ClassNotFoundException on 2.13. changelog_begin changelog_end * Copyright headers changelog_begin changelog_end * I can’t bazel today changelog_begin changelog_end * Apply suggestions from code review Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com> * Update libs-scala/resources/src/main/2.13/com/daml/resources/UnitCanBuildFrom.scala Co-authored-by: Stephen Compall <stephen.compall@daml.com> * No split on view changelog_begin changelog_end Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com> Co-authored-by: Stephen Compall <stephen.compall@daml.com>
36 lines
900 B
Python
36 lines
900 B
Python
# Copyright (c) 2020 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",
|
|
)
|
|
|
|
da_scala_library(
|
|
name = "postgresql-testing",
|
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
|
data = [
|
|
"@postgresql_dev_env//:all",
|
|
],
|
|
scala_deps = [
|
|
"@maven//:org_scalactic_scalactic",
|
|
"@maven//:org_scalatest_scalatest",
|
|
],
|
|
versioned_scala_deps = {
|
|
"2.12": [
|
|
"@maven//:org_scala_lang_modules_scala_collection_compat",
|
|
],
|
|
},
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
deps = [
|
|
"//bazel_tools/runfiles:scala_runfiles",
|
|
"//ledger-api/testing-utils",
|
|
"//libs-scala/ports",
|
|
"//libs-scala/resources",
|
|
"@maven//:commons_io_commons_io",
|
|
],
|
|
)
|