Add default includeAllJdks option to generateGradleJdkConfigs #493
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before this PR
After this PR
In preparation for https://github.com/palantir/gradle-jdks/pull/479/files#diff-53f3309ab573fe65d62f8b5bf40e9bb94478d82b4d6434cb6bcf9b25516813a4R79. That PR will only install & configure only the jdk versions used. Because of this, excavators that bump the java versions (eg. https://pl.ntr/2q1), would need to pre-install extra java versions. For this, I have added the command line option
./gradlew generateGradleJdkConfigs --includeAllJdks
that will generate all the jdk configuration files.In this PR, the addition is a noop. It only allows the excavators that update the java versions to use the new command line to ensure they are not broken when https://github.com/palantir/gradle-jdks/pull/479/files is merged.
==COMMIT_MSG==
Add default includeAllJdks option to generateGradleJdkConfigs
==COMMIT_MSG==
Possible downsides?