We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since Gradle 7 toolchains are supported by Gradle. See https://docs.gradle.org/current/userguide/toolchains.html It would be awesome to support them that way instead of the 'magic' lookup that is currently implemented.
The text was updated successfully, but these errors were encountered:
Why you can't use it? I am not familiar with this new API. But I think the follow snipped should work:
setupBuilder { def javaLauncher = javaToolchains.launcherFor { languageVersion = JavaLanguageVersion.of(14) } bundleJre = javaLauncher.metadata.installationPath }
If this not work you can try javaLauncher.metadata.installationPath.asFile.absolutePath.
javaLauncher.metadata.installationPath.asFile.absolutePath
Sorry, something went wrong.
No branches or pull requests
Since Gradle 7 toolchains are supported by Gradle. See https://docs.gradle.org/current/userguide/toolchains.html
It would be awesome to support them that way instead of the 'magic' lookup that is currently implemented.
The text was updated successfully, but these errors were encountered: