-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gradle-inspector): Allow to customize the Java home for analysis
Note that `setJavaHome()` [1] sets the Java home "to use for the Gradle process". However, as by default (unless toolchains are used [2]) "Gradle will compile Java code to the language level of the JVM running Gradle" [3], this will impact the Java target of the build. See #8249 for context. [1]: https://docs.gradle.org/current/javadoc/org/gradle/tooling/ConfigurableLauncher.html#setJavaHome(java.io.File) [2]: https://docs.gradle.org/8.10/userguide/building_java_projects.html#sec:compiling_with_toolchain [3]: https://docs.gradle.org/8.10/userguide/building_java_projects.html#sec:java_cross_compilation Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
- Loading branch information
1 parent
7373195
commit 8ce9483
Showing
3 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
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
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
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