daml/navigator/integration-test/BUILD.bazel
Moritz Kiefer 91b185dcc3
Port Navigator to Scala 2.13 (#8847)
changelog_begin
changelog_end
2021-02-15 14:55:36 +00:00

46 lines
1.6 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_binary")
# Note that this whole library is currently an unused and
# we do not have integration tests for navigator right now.
da_scala_binary(
name = "navigatortest-jar",
srcs = glob(
[
"src/**/*.scala",
],
),
main_class = "com.daml.navigator.test.Main",
resource_strip_prefix = "navigator/integration-test/src/main/resources/",
resources = ["src/main/resources/Main.daml"],
scala_deps = [
"@maven//:com_chuusai_shapeless",
"@maven//:com_github_scopt_scopt",
"@maven//:com_typesafe_scala_logging_scala_logging",
"@maven//:io_circe_circe_core",
"@maven//:io_circe_circe_generic",
"@maven//:io_circe_circe_parser",
"@maven//:org_scalactic_scalactic",
"@maven//:org_scalatest_scalatest",
"@maven//:org_scalatestplus_selenium_3_141",
"@maven//:org_typelevel_cats_core",
"@maven//:org_typelevel_cats_kernel",
],
versioned_scala_deps = {
"2.12": ["@maven//:org_scala_lang_modules_scala_collection_compat"],
},
visibility = ["//visibility:public"],
runtime_deps = [
"//ledger/sandbox-classic",
"@maven//:ch_qos_logback_logback_classic",
],
deps = [
"@maven//:commons_codec_commons_codec",
"@maven//:org_seleniumhq_selenium_selenium_api",
"@maven//:org_seleniumhq_selenium_selenium_remote_driver",
"@maven//:org_slf4j_slf4j_api",
],
)