daml/libs-scala/nameof/BUILD.bazel
Gary Verhaegen d2e2c21684
update copyright headers (#12240)
New year, new copyright, new expected unknown issues with various files
that won't be covered by the script and/or will be but shouldn't change.

I'll do the details on Jan 1, but would appreciate this being
preapproved so I can actually get it merged by then.

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-03 16:36:51 +00:00

40 lines
1.0 KiB
Python

# Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load(
"//bazel_tools:scala.bzl",
"da_scala_macro_library",
"da_scala_test_suite",
)
da_scala_macro_library(
name = "nameof",
srcs = glob(["src/main/scala/**/*.scala"]),
scalacopts = ["-Xsource:2.13"],
tags = ["maven_coordinates=com.daml:nameof:__VERSION__"],
visibility = [
"//visibility:public",
],
runtime_deps = [
"@maven//:org_scala_lang_scala_compiler",
"@maven//:org_scala_lang_scala_reflect",
],
deps = [
"@maven//:org_scala_lang_scala_compiler",
"@maven//:org_scala_lang_scala_reflect",
],
)
da_scala_test_suite(
name = "nameof-tests",
srcs = glob(["src/test/suite/**/*.scala"]),
resources = glob(["src/test/suite/resources/**/*"]),
scala_deps = [
],
deps = [
":nameof",
"@maven//:org_scala_lang_scala_compiler",
"@maven//:org_scala_lang_scala_reflect",
],
)