Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bufLint: Missing output for violations #208

Open
greenbourne277 opened this issue Jul 10, 2024 · 1 comment
Open

bufLint: Missing output for violations #208

greenbourne277 opened this issue Jul 10, 2024 · 1 comment

Comments

@greenbourne277
Copy link

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?

@andrewparmet
Copy link
Collaborator

Thanks for the report. Can you provide a minimal reproducer project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants