Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration.md examples "using dep" to current versions #2398

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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