-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Report JVM information for Gradle daemon #29101
Labels
Milestone
Comments
big-guy
added
in:daemon
a:feature
A new functionality
in:reporting-tasks
help dependencyInsight dependencies
labels
May 10, 2024
In case this helps anyone else waiting for this feature, or just stuck on older Gradle releases...
This would be a little different for showing the Kotlin version, since there is no drop-in replacement there for GroovySystem. But I think it should work similarly for the gradle and gradle java versions there. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Expected Behavior
It should be easy to understand which version of Java may be used to run a build.
Current Behavior (optional)
No response
Context
gradle -v
reports the current JVM used. This is often the same one used by the daemon, but this can be influenced by two different things:org.gradle.java.home
can specify a completely different Java home to be used by the daemonAdditionally, once the build is started, there is no easy way to see the actual JVM used to run the build. This is useful for diagnosing problems caused by running a build with the wrong (or unexpected) version of Java.
Some suggestions:
gradle -v
report the value oforg.gradle.java.home
or the JVM criteria when set.gradle buildEnvironment
or similar task report information about the build's actual JVMThe text was updated successfully, but these errors were encountered: