-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
gradle build fails when Docker is not available #1307
Comments
Maven doesn't run the AOT processor by default, so that explains why it doesn't fail if you do the simplest possible thing. I'll ask the AOT team if there's anything we can do to fix the Gradle build, other than your workaround. See spring-projects/spring-boot#37097 for more detail and tracking progress. Also spring-projects/spring-boot#36273. |
Does Gradle need to run the AOT processor by default? Would it be reasonable to fix this by making AOT opt-in rather than broken by default, matching Maven? |
You’re asking in the wrong place. Petclinic is just a user of the build tools. Follow links to issues in my last comment. |
Adding the new |
It works for me now, so I think someone already did that. |
Hmmm. Still seems broken to me... But applying @wilkinsona's recommendation seems to work in #1411. |
When Docker is not available
./gradlew clean build
fails because of theprocessTestAot
failed task.My current workaround is to skip the
processTestAot
task, and build with./gradlew clean build -x processTestAot
which works.The maven build, however, doesn't have this issue. It works with or without Docker.
Any idea of what the problem is?
The text was updated successfully, but these errors were encountered: