Skip to content

Commit

Permalink
More colour on coursier
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Oct 28, 2024
1 parent fdf0347 commit 7b5364b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ Contents:

Getting started
=======
Scala js dom currently targets java 17 for maximum compatibility.
Scala js dom currently targets java 17 for maximum compatibility. If your shell is targeting a JVM higher than 17, you may experience confusing error messages when starting SBT.

[Coursier](https://get-coursier.io/) is the de facto standard for artefact fetching in scala. Using coursier it is possible to launch SBT with a specific JVM version. The default [installation](https://get-coursier.io/docs/cli-installation) of coursier will put `cs` on your path, after which the following command (run in the root of the project)

```sh
cs launch sbt --jvm 17
```
Would start sbt on a jvm that is known to work with the project

will (if necessary download and) start sbt with temurin 17 - i.e. a jvm known to be compatible with the project.

Packages
========
Expand Down

0 comments on commit 7b5364b

Please sign in to comment.