Skip to content

Conversation

@shuklahy
Copy link
Collaborator

@shuklahy shuklahy commented Feb 26, 2025

OpenJDK java does not appear on mac based system https://get-coursier.io/docs/cli-java#managed-jvms in managed jvm.
Also the installation URL are different for Mac https://get-coursier.io/docs/cli-installation#native-launcher

Here depending on the OS architecture we decide which coursier url and java version to pick.

For test we use proxyquire as dependency to mock os environment.

Updated yarn lock file and changed the rule prefixes from node/ to n/ to match the current naming convention of the eslint-plugin-n package (formerly eslint-plugin-node)

Test:

Tested the installation on mac and linux environments
Also checked test runs there

@shuklahy shuklahy changed the title [In Progress] Added coursier installation support for mac based environments as well Added coursier installation support for mac based environments Mar 4, 2025
@shuklahy shuklahy requested a review from mnoah1 March 4, 2025 21:02
@shuklahy shuklahy merged commit f1814d7 into main Mar 4, 2025
4 checks passed
@shuklahy shuklahy mentioned this pull request Mar 6, 2025
shuklahy added a commit that referenced this pull request Mar 6, 2025
## What's Changed
*  #41 by @mnoah1 
* #40  by @mnoah1 
* #39 by @mnoah1 
*  #38 by @shuklahy
*  #36 by @mnoah1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants