New features
-
Javaversion (currently still only forAmazon Corretto) is now determined dynamically using the official GitHubjsonwith releases, so when newJavaversion becomes available, you will not be depenent onrJavaEnvto be updated. As a fallback, versions up to 24 are hardcoded. -
Added
forceargument tojava_download(). When set toTRUE, allows to overwrite the distribution file if it already exist in the cache. This save the trouble of deleting the cached file withjava_clear()before re-downloading. -
Added a new function
java_valid_versions()allows to retrieve a list of all availableJavaversions for the current automatically detected OS and CPU architecture, or user-specified platform and architecture.
Improvements
-
Better command line
Javadetection (thanks to Jonas Lieth) -
Test coverage is now 7.2%