-
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
Gradle Kotlin project with no code cannot be started in Dev mode #45169
Comments
Ideally, when you report an issue, it would be nice if you could go the extra mile and provide a full stack trace in the description. Granted, I can reproduce it but it's a lot better for search engines and it also helps the maintainers trying to get an understanding of the issue and prioritize properly. In this case,
(for Quarkus 3.17.5) |
This is a can of worms - not completely surprised. It's easy to lift the early restrictions but you then get NPEs further in the build process so I think I will just improve the log message for now. |
This is unfortunate but we probably need to spend a lot more time to fully understand all the consequences of lifting this restriction. Related to quarkusio#45169
I created #45291 for now as an easy win. I'm not sure if things can be improved further but I will let it to someone interested in contributing to the Gradle plugin. |
thanks @gsmet, we can open a new issue if there is further change in the gradle plugin. |
Describe the bug
Maven works, so this is only issue with Gradle.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
See the description.
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
3.17.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)$ ./gradlew --version ------------------------------------------------------------ Gradle 8.9 ------------------------------------------------------------ Build time: 2024-07-11 14:37:41 UTC Revision: d536ef36a19186ccc596d8817123e5445f30fef8 Kotlin: 1.9.23 Groovy: 3.0.21 Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023 Launcher JVM: 21.0.5 (Eclipse Adoptium 21.0.5+11-LTS) Daemon JVM: /home/mstefank/.sdkman/candidates/java/21.0.5-tem (no JDK specified, using current Java home) OS: Linux 6.11.10-300.fc41.x86_64 amd64
Additional information
No response
The text was updated successfully, but these errors were encountered: