Skip to content

Commit

Permalink
Update versions in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault authored Feb 14, 2024
1 parent a590c7d commit c73ccb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ $ amm --class-based --tmp-output-directory
```
or use [coursier](https://github.com/coursier/coursier),
```
$ cs launch ammonite:3.0.0-M0-19-62705f47 --scala 2.13.10 -- --class-based --tmp-output-directory
$ cs launch ammonite:3.0.0-M0-60-89836cd8 --scala 2.13.12 -- --class-based --tmp-output-directory
```
or [Scala CLI](https://github.com/VirtusLab/scala-cli)
```
$ scala-cli repl --amm --ammonite-version 3.0.0-M0-19-62705f47 --scala 2.13.10 -- --class-based --tmp-output-directory
$ scala-cli repl --amm --ammonite-version 3.0.0-M0-60-89836cd8 --scala 2.13.12 -- --class-based --tmp-output-directory
```
Ensure you are using scala 2.12 or 2.13, the only supported Scala versions as of writing this.

At the Ammonite prompt, load the Spark 2.x or 3.x version of your choice, along with ammonite-spark,
```scala
@ import $ivy.`org.apache.spark::spark-sql:3.3.0`
@ import $ivy.`sh.almond::ammonite-spark:0.13.9`
@ import $ivy.`sh.almond::ammonite-spark:0.13.12`
```
(Note the two `::` before `spark-sql` or `ammonite-spark`, as these are scala dependencies.)

Expand Down

0 comments on commit c73ccb0

Please sign in to comment.