gradle/foojay-toolchains

Default distribution/vendor should be configurable

marcphilipp opened this issue · 1 comments

As documented in the README, the default distribution is currently Temurin if no vendor is specified. Since Temurin does not provide an arm64-compatible JDK 8 distribution, projects like JUnit have to explicitly specify a vendor when using JDK 8 even though any vendor would do. Therefore, it would be great if the default vendor could be configured, e.g. via a DSL in the settings script or a project/system property.

Alternatively, you could support fallback vendors, that are tried when the default vendor doesn't supply a JDK matching the other criteria.