Support Tencent Kona JDK
Description: This PR adds Tencent Kona JDK into setup-java. It supports the major versions 8, 11, 17 and 21. The supported platforms are Linux x86_64/aarch64, macOS x86_64/aarch64 and Windows x86_64.
Currently, only the latest stable releases are supported, and only jdk (no jre) binaries are available. A configuration maintains these releases.
Related issue: #671
Check list:
- [X] Mark if documentation changes are required.
- [X] Mark if tests were added or updated to cover the changes.
I just refreshed the commit. It resolved the file conflicts and supported Tencent Kona JDK 21.
I just updated the commit again, and the file conflicts are resolved.
I already executed npm run build for re-generating the index.js files, and committed them.
> [email protected] build
> ncc build -o dist/setup src/setup-java.ts && ncc build -o dist/cleanup src/cleanup-java.ts
ncc: Version 0.38.1
ncc: Compiling file index.js into CJS
ncc: Using [email protected] (local user-provided)
5204kB dist/setup/index.js
5204kB [2160ms] - ncc 0.38.1
ncc: Version 0.38.1
ncc: Compiling file index.js into CJS
ncc: Using [email protected] (local user-provided)
3777kB dist/cleanup/index.js
3777kB [1804ms] - ncc 0.38.1
But Check dist check task always failed.