daml/libs-scala/crypto/BUILD.bazel
Gary Verhaegen 179d85362d
update copyright (#18167)
* update copyright

* undo hack from #18168

* update hash in platform-independence-pre-check
2024-01-15 20:27:42 +01:00

37 lines
928 B
Python

# Copyright (c) 2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load("//bazel_tools:scala.bzl", "da_scala_benchmark_jmh", "da_scala_library", "da_scala_test")
load("@scala_version//:index.bzl", "scala_major_version")
da_scala_library(
name = "crypto",
srcs = glob(["src/main/scala/**/*.scala"]),
tags = ["maven_coordinates=com.daml:crypto:__VERSION__"],
visibility = [
"//visibility:public",
],
deps = [
"//libs-scala/scala-utils",
"@maven//:org_slf4j_slf4j_api",
],
)
da_scala_test(
name = "crypto-tests",
size = "small",
srcs = glob(["src/test/scala/**/*.scala"]),
deps = [
":crypto",
],
)
da_scala_benchmark_jmh(
name = "crypto-perf",
srcs = glob(["src/jmh/scala/**/*.scala"]),
visibility = ["//visibility:public"],
deps = [
":crypto",
],
)