Created
October 28, 2022 07:24
-
-
Save johnjohndoe/26b84d57032ff28dd7d8885907a9e004 to your computer and use it in GitHub Desktop.
Java version used by Gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.gradle.internal.jvm.Jvm | |
println "Gradle uses Java ${Jvm.current()}" | |
// example output: Gradle uses Java 17.0.4.1 (JetBrains s.r.o. 17.0.4.1+0-17.0.4.1b469.62-9127311) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment