mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
329320bad9
* Use com.daml as groupId for all artifacts CHANGELOG_BEGIN [SDK] Changed the groupId for Maven artifacts to ``com.daml``. CHANGELOG_END * Add 2 additional maven related checks to the release binary 1. Check that all maven upload artifacts use com.daml as the groupId 2. Check that all maven upload artifacts have a unique artifactId * Address @cocreature's comments in https://github.com/digital-asset/daml/pull/5272#pullrequestreview-385026181
42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
# Copyright (c) 2020 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 = "data",
|
|
srcs = glob(["src/main/**/*.scala"]),
|
|
plugins = [
|
|
"@maven//:org_spire_math_kind_projector_2_12",
|
|
],
|
|
scalacopts = lf_scalacopts,
|
|
tags = ["maven_coordinates=com.daml:daml-lf-data:__VERSION__"],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
deps = [
|
|
"@maven//:com_google_guava_guava",
|
|
"@maven//:com_google_protobuf_protobuf_java",
|
|
"@maven//:org_scalaz_scalaz_core_2_12",
|
|
],
|
|
)
|
|
|
|
da_scala_test(
|
|
name = "data-test",
|
|
size = "small",
|
|
srcs = glob(["src/test/**/*.scala"]),
|
|
scalacopts = lf_scalacopts,
|
|
deps = [
|
|
":data",
|
|
"//daml-lf/data-scalacheck",
|
|
"@maven//:org_scalacheck_scalacheck_2_12",
|
|
"@maven//:org_scalaz_scalaz_core_2_12",
|
|
"@maven//:org_scalaz_scalaz_scalacheck_binding_2_12",
|
|
],
|
|
)
|