-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
quarkus-grpc: Generate proto files from dependencies no longer works since Quarkus 3.16 #44384
Comments
/cc @alesj (grpc), @cescoffier (grpc) |
All versions from Quarkus 3.16.0 onwards are affected, including the latest version 3.16.2. |
I think something changed in our gradle support. |
cc @aloubyansky |
I have a similar issue with generated classes from protobuf that is used in reactive messaging when migrating to 3.16.x from 3.15.1: `What went wrong:
|
Hi, sorry for the inconvenience. In version 3.16.1, we updated the QuarkusBuildTask configuration to make it compatible with the configuration cache. These changes required adjustments in how we configure tasks. In this specific case, the issue is that, during the initial build of the application model in a completely fresh environment (using To demonstrate this behavior, you can add a Java class in the server module, and you will observe that the issue does not occur because Java compilation can then process the output correctly. I’ve prepared a quick fix that I need to validate with the Quarkus team. |
Thanks @cdsap |
Describe the bug
Since Quarkus 3.16, the generation of proto files from dependencies (https://quarkus.io/guides/grpc-generation-reference#scan-for-proto) no longer works and fails with the following error:
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
./gradlew clean && rm -rf .gradle/ && ./gradlew --stop && ./gradlew clean build --rerun-tasks --no-build-cache --no-parallel --console=plain
Output of
uname -a
orver
No response
Output of
java -version
Java 21
Quarkus version or git rev
3.16.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.10.2
Additional information
No response
The text was updated successfully, but these errors were encountered: