buf-gradle-plugin
buf-gradle-plugin copied to clipboard
bufLint: Missing output for violations
Version: 0.9.1
Description:
When i run ./gradlew <myprojectpath>:bufLint
I receive following output:
> Task <myprojectpath>:bufLint FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:lori:api:bufLint'.
> Some Protobuf files had lint violations:
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
I don't see what the violations are. --debug
didn't reveal anything either.
Here my buf.yaml
in the project directory:
# buf.yaml
version: v1
build:
roots:
- src/main/proto/
# The protobuf-gradle-plugin extracts and merges protobuf dependencies to
# `build/extracted-include-protos`, so tell Buf where to find them.
- build/extracted-include-protos/main
lint:
ignore:
- google
use:
- DEFAULT
Am I missing something obvious?