Skip to content
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

Bypass GradleJvm validations for task execution #6

Open
vmadalin opened this issue Jun 24, 2024 · 0 comments
Open

Bypass GradleJvm validations for task execution #6

vmadalin opened this issue Jun 24, 2024 · 0 comments
Assignees

Comments

@vmadalin
Copy link
Owner

vmadalin commented Jun 24, 2024

Until now, before the execution of any Gradle task, there are some validations about the project Gradle JDK configuration happening this logic on LocalGradleExecutionAware.prepareJvmForExecution() and throwing an exception if isn’t possible to resolve the defined gradleJvm from a known macro or jdk.table.xml entry. However, when the Gradle daemon toolchain criteria is defined with a compatible Gradle version, this must bypass the existing validations, delegating any validation to Gradle which will throw any exception regarding the defined criteria as well as other related exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Development

No branches or pull requests

1 participant