daml/buf.yaml
fabiotudone-da 5b837ec2d9
Ledger API: add buf checks [KVL-1045] (#10625)
CHANGELOG_BEGIN
CHANGELOG_END
2021-08-20 17:49:32 +02:00

33 lines
960 B
YAML

# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
version: v1beta1
deps:
- buf.build/googleapis/googleapis
build:
roots:
- daml-lf/archive/src/main/protobuf/
- daml-lf/transaction/src/main/protobuf/
- ledger/ledger-configuration/protobuf/
- ledger/participant-state/kvutils/src/main/protobuf/
- ledger-api/grpc-definitions
excludes:
# We have to exclude these to avoid duplicate definitions of e.g. Unit within the same package.
- daml-lf/archive/src/main/protobuf/com/daml/daml_lf_1_11/
- daml-lf/archive/src/main/protobuf/com/daml/daml_lf_1_12/
- daml-lf/archive/src/main/protobuf/com/daml/daml_lf_1_13/
- daml-lf/archive/src/main/protobuf/com/daml/daml_lf_1_14/
- daml-lf/archive/src/main/protobuf/com/digitalasset/
lint:
use:
- DEFAULT
except:
- PACKAGE_VERSION_SUFFIX
breaking:
use:
- WIRE_JSON