mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
01b8e3011f
* Simplify loading of logback file doConfigure accepts a URL which slightly simplifies things. Really the primary reason why I’m doing this is that it gets veracode to shut up. I don’t fully understand what it’s worried about in the first place but it looks like it gets angry about calling openStream on the resource *shrug* changelog_begin changelog_end * fix 2.12 build changelog_begin changelog_end
32 lines
916 B
Python
32 lines
916 B
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",
|
|
"lf_scalacopts",
|
|
)
|
|
|
|
da_scala_library(
|
|
name = "cli-opts",
|
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
|
scala_deps = [
|
|
"@maven//:com_github_scopt_scopt",
|
|
"@maven//:org_scalaz_scalaz_core",
|
|
],
|
|
scalacopts = lf_scalacopts,
|
|
tags = ["maven_coordinates=com.daml:http-json-cli-opts:__VERSION__"],
|
|
visibility = ["//visibility:public"],
|
|
runtime_deps = [
|
|
"@maven//:org_codehaus_janino_janino",
|
|
],
|
|
deps = [
|
|
"//ledger/ledger-api-common",
|
|
"//ledger/metrics",
|
|
"@maven//:ch_qos_logback_logback_classic",
|
|
"@maven//:ch_qos_logback_logback_core",
|
|
"@maven//:io_netty_netty_handler",
|
|
"@maven//:org_slf4j_slf4j_api",
|
|
],
|
|
)
|