setup-java icon indicating copy to clipboard operation
setup-java copied to clipboard

Support Tencent Kona JDK

Open johnshajiang opened this issue 1 year ago • 3 comments

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.

johnshajiang avatar Aug 14 '24 03:08 johnshajiang

I just refreshed the commit. It resolved the file conflicts and supported Tencent Kona JDK 21.

johnshajiang avatar Sep 12 '24 07:09 johnshajiang

I just updated the commit again, and the file conflicts are resolved.

johnshajiang avatar Oct 10 '24 09:10 johnshajiang

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.

johnshajiang avatar Feb 13 '25 15:02 johnshajiang