mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 00:35:25 +03:00
67d4011fcd
* build daml-lf/* with lf_scalacopts_stricter; and fix NonUnitStatements fix daml-lf/archive CHANGELOG_BEGIN CHANGELOG_END fix daml-lf/data/ fix daml-lf/engine fixes for scala 2.12 data-scalacheck, interface, kv-transaction-support: switch on; nothing to do * daml-lf/parser -- switch on; nothing to do * daml-lf/validation : switch on lf_scalacopts_stricter & fix wartremover:NonUnitStatements * lf_scalacopts_stricter in daml-lf/transaction-test-lib * lf_scalacopts_stricter in daml-lf/scenario-interpreter
28 lines
809 B
Python
28 lines
809 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_stricter",
|
|
)
|
|
load("@scala_version//:index.bzl", "scala_version_suffix")
|
|
|
|
da_scala_library(
|
|
name = "data-scalacheck",
|
|
srcs = glob(["src/main/**/*.scala"]),
|
|
plugins = [
|
|
"@maven//:org_typelevel_kind_projector_{}".format(scala_version_suffix),
|
|
],
|
|
scala_deps = [
|
|
"@maven//:org_scalacheck_scalacheck",
|
|
"@maven//:org_scalaz_scalaz_core",
|
|
],
|
|
scalacopts = lf_scalacopts_stricter,
|
|
tags = ["maven_coordinates=com.daml:daml-lf-data-scalacheck:__VERSION__"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//daml-lf/data",
|
|
],
|
|
)
|