mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
0591075187
* cleanup daml-lf scala packages * Address Stephen's Comments * update maven coordinates of language package
49 lines
1.4 KiB
Python
49 lines
1.4 KiB
Python
# Copyright (c) 2019 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",
|
|
"lf_scalacopts",
|
|
)
|
|
|
|
da_scala_library(
|
|
name = "interface",
|
|
srcs = glob(["src/main/**/*.scala"]),
|
|
scalacopts = lf_scalacopts,
|
|
tags = ["maven_coordinates=com.digitalasset:daml-lf-interface:__VERSION__"],
|
|
visibility = [
|
|
"//daml-lf:__subpackages__",
|
|
"//extractor:__subpackages__",
|
|
"//language-support:__subpackages__",
|
|
"//navigator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//3rdparty/jvm/com/google/protobuf:protobuf_java",
|
|
"//3rdparty/jvm/org/scalaz:scalaz_core",
|
|
"//daml-lf/archive:daml_lf_archive_scala",
|
|
"//daml-lf/archive:daml_lf_java_proto",
|
|
"//daml-lf/data",
|
|
],
|
|
)
|
|
|
|
da_scala_test(
|
|
name = "tests",
|
|
size = "small",
|
|
srcs = glob(["src/test/**/*.scala"]),
|
|
scalacopts = lf_scalacopts,
|
|
deps = [
|
|
":interface",
|
|
"//3rdparty/jvm/com/google/protobuf:protobuf_java",
|
|
"//3rdparty/jvm/org/scalacheck",
|
|
"//3rdparty/jvm/org/scalatest",
|
|
"//3rdparty/jvm/org/scalaz:scalaz_core",
|
|
"//daml-lf/archive:daml_lf_archive_scala",
|
|
"//daml-lf/archive:daml_lf_java_proto",
|
|
"//daml-lf/data",
|
|
"//daml-lf/language",
|
|
"//daml-lf/parser",
|
|
],
|
|
)
|