daml/libs-scala/scala-utils/BUILD.bazel
Gary Verhaegen 151e12b81a
bump copyright (#16002)
This is the result of:

- Updating `./COPY` to say `2023`.
- Running `./dev-env/bin/dade-copyright-headers update .`
2023-01-04 18:21:15 +01:00

50 lines
1.1 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",
"da_scala_test",
"kind_projector_plugin",
"lf_scalacopts_stricter",
)
load("@scala_version//:index.bzl", "scala_major_version")
scalacopts = lf_scalacopts_stricter
da_scala_library(
name = "scala-utils",
srcs = glob(["src/main/scala/**/*.scala"]) + glob([
"src/main/{}/**/*.scala".format(scala_major_version),
]),
plugins = [
kind_projector_plugin,
],
scala_deps = [
"@maven//:org_scalaz_scalaz_core",
],
scalacopts = scalacopts,
tags = ["maven_coordinates=com.daml:scala-utils:__VERSION__"],
visibility = [
"//visibility:public",
],
deps = [
],
)
da_scala_test(
name = "test",
srcs = glob(["src/test/scala/**/*.scala"]),
plugins = [
kind_projector_plugin,
],
scala_deps = [
"@maven//:org_scalaz_scalaz_core",
],
scalacopts = scalacopts,
deps = [
":scala-utils",
"//libs-scala/scalatest-utils",
],
)