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

Do not emit warning when there are no proto files #54

Open
alexander-yevsyukov opened this issue Oct 4, 2022 · 0 comments
Open

Do not emit warning when there are no proto files #54

alexander-yevsyukov opened this issue Oct 4, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@alexander-yevsyukov
Copy link
Contributor

When building model-tools/model-check I got the below warning:

> Task :model-check:annotateProto
Missing descriptor set file `/Users/sanders/Projects/Spine/model-tools/model-check/build/descriptors/main/io.spine.tools_model-check_2.0.0-SNAPSHOT.111.desc` produced for the source set `main` which has `proto` extension.
Please enable descriptor set generation.
See: https://github.com/google/protobuf-gradle-plugin/blob/master/README.md#generate-descriptor-set-files

The module does use McJava and has proto files used for Tests. But it does not have proto files in the main source set. As such, the module does have the proto extension, but the build does not produce descriptor set files because there are no proto files.

McData should see if there are proto files in the source set and emit the warning only then. The current behaviour is misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant