Skip to content

Commit

Permalink
configuration.md examples "using dep" to current versions (#2398)
Browse files Browse the repository at this point in the history
All scala 3 examples updated to current version of packages, upickle, eg,  was extremely outdated.
  • Loading branch information
SunKing2 authored Sep 19, 2023
1 parent 6fafc5e commit e3f1c52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/guides/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Another thing you can do is to specify dependencies:
<ChainedSnippets>

```bash
scala-cli --dependency org.typelevel::cats-core:2.9.0 Test.scala
scala-cli --dependency org.typelevel::cats-core:2.10.0 Test.scala
```

```text
Expand Down Expand Up @@ -81,7 +81,7 @@ The reference documentation lists [all available using directives](/docs/referen
Also, there are some directives which only target tests, like `using test.dep`.
Those can be useful when defining configuration specific to your test runs.
```scala compile
//> using test.dep com.lihaoyi::utest:0.7.10
//> using test.dep com.lihaoyi::utest::0.8.1
```

More details can be found in the [`using` directives guide](./using-directives.md#directives-with-a-test-scope-equivalent).
Expand All @@ -91,8 +91,8 @@ More details can be found in the [`using` directives guide](./using-directives.m
Dependencies can be added right from `.scala` and `.sc` files with [`using` directives](#using-directives):

```scala compile
//> using dep com.lihaoyi::upickle:1.4.0
//> using dep com.lihaoyi::pprint:0.6.6
//> using dep com.lihaoyi::upickle::3.1.2
//> using dep com.lihaoyi::pprint::0.8.1
import ujson._
```

Expand Down

0 comments on commit e3f1c52

Please sign in to comment.