Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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 _includes/_markdown/install-cask.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% tab 'Scala CLI' %}
You can declare a dependency on Cask with the following `using` directive:
```scala
//> using dep com.lihaoyi::cask::0.9.2
//> using dep com.lihaoyi::cask::0.10.2
```
{% endtab %}

Expand All @@ -15,7 +15,7 @@ In your `build.sbt`, you can add a dependency on Cask:
lazy val example = project.in(file("example"))
.settings(
scalaVersion := "3.4.2",
libraryDependencies += "com.lihaoyi" %% "cask" % "0.9.2",
libraryDependencies += "com.lihaoyi" %% "cask" % "0.10.2",
fork := true
)
```
Expand All @@ -25,9 +25,9 @@ lazy val example = project.in(file("example"))
In your `build.sc`, you can add a dependency on Cask:
```scala
object example extends RootModule with ScalaModule {
def scalaVersion = "3.3.4"
def scalaVersion = "3.4.2"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask::0.9.2"
ivy"com.lihaoyi::cask::0.10.2"
)
}
```
Expand Down
14 changes: 7 additions & 7 deletions _includes/_markdown/install-munit.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,43 @@ MUnit, being a testing framework, is only available in test files: files in a `t

Alternatively, you can require just a specific version of MUnit:
```scala
//> using dep org.scalameta::munit:1.0.3
//> using dep org.scalameta::munit:1.1.0
```
{% endtab %}
{% tab 'sbt' %}
In your build.sbt file, you can add the dependency on toolkit-test:
```scala
lazy val example = project.in(file("."))
.settings(
scalaVersion := "3.3.4",
libraryDependencies += "org.scala-lang" %% "toolkit-test" % "0.1.7" % Test
scalaVersion := "3.4.2",
libraryDependencies += "org.scala-lang" %% "toolkit-test" % "0.7.0" % Test
)
```

Here the `Test` configuration means that the dependency is only used by the source files in `src/test`.

Alternatively, you can require just a specific version of MUnit:
```scala
libraryDependencies += "org.scalameta" %% "munit" % "1.0.3" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.1.0" % Test
```
{% endtab %}
{% tab 'Mill' %}
In your build.sc file, you can add a `test` object extending `Tests` and `TestModule.Munit`:
```scala
object example extends ScalaModule {
def scalaVersion = "3.3.4"
def scalaVersion = "3.4.2"
object test extends Tests with TestModule.Munit {
def ivyDeps =
Agg(
ivy"org.scala-lang::toolkit-test:0.1.7"
ivy"org.scala-lang::toolkit-test:0.7.0"
)
}
}
```

Alternatively, you can require just a specific version of MUnit:
```scala
ivy"org.scalameta::munit:1.0.3"
ivy"org.scalameta::munit:1.1.0"
```
{% endtab %}
{% endtabs %}
Expand Down
14 changes: 7 additions & 7 deletions _includes/_markdown/install-os-lib.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,37 +9,37 @@ You can require the entire toolkit in a single line:

Alternatively, you can require just a specific version of OS-Lib:
```scala
//> using dep com.lihaoyi::os-lib:0.9.1
//> using dep com.lihaoyi::os-lib:0.11.3
```
{% endtab %}
{% tab 'sbt' %}
In your `build.sbt`, you can add a dependency on the toolkit:
```scala
lazy val example = project.in(file("."))
.settings(
scalaVersion := "3.3.4",
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
scalaVersion := "3.4.2",
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.7.0"
)
```
Alternatively, you can require just a specific version of OS-Lib:
```scala
libraryDependencies += "com.lihaoyi" %% "os-lib" % "0.9.1"
libraryDependencies += "com.lihaoyi" %% "os-lib" % "0.11.3"
```
{% endtab %}
{% tab 'Mill' %}
In your `build.sc` file, you can add a dependency on the Toolkit:
```scala
object example extends ScalaModule {
def scalaVersion = "3.3.4"
def scalaVersion = "3.4.2"
def ivyDeps =
Agg(
ivy"org.scala-lang::toolkit:0.1.7"
ivy"org.scala-lang::toolkit:0.7.0"
)
}
```
Alternatively, you can require just a specific version of OS-Lib:
```scala
ivy"com.lihaoyi::os-lib:0.9.1"
ivy"com.lihaoyi::os-lib:0.11.3"
```
{% endtab %}
{% endtabs %}
Expand Down
14 changes: 7 additions & 7 deletions _includes/_markdown/install-sttp.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,38 @@ You can require the entire toolkit in a single line:

Alternatively, you can require just a specific version of sttp:
```scala
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M6
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M26
```
{% endtab %}
{% tab 'sbt' %}
In your build.sbt file, you can add a dependency on the Toolkit:
```scala
lazy val example = project.in(file("."))
.settings(
scalaVersion := "3.3.4",
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
scalaVersion := "3.4.2",
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.7.0"
)
```

Alternatively, you can require just a specific version of sttp:
```scala
libraryDependencies += "com.softwaremill.sttp.client4" %% "core" % "4.0.0-M6"
libraryDependencies += "com.softwaremill.sttp.client4" %% "core" % "4.0.0-M26"
```
{% endtab %}
{% tab 'Mill' %}
In your build.sc file, you can add a dependency on the Toolkit:
```scala
object example extends ScalaModule {
def scalaVersion = "3.3.4"
def scalaVersion = "3.4.2"
def ivyDeps =
Agg(
ivy"org.scala-lang::toolkit:0.1.7"
ivy"org.scala-lang::toolkit:0.7.0"
)
}
```
Alternatively, you can require just a specific version of sttp:
```scala
ivy"com.softwaremill.sttp.client4::core:4.0.0-M6"
ivy"com.softwaremill.sttp.client4::core:4.0.0-M26"
```
{% endtab %}
{% endtabs %}
Expand Down
14 changes: 7 additions & 7 deletions _includes/_markdown/install-upickle.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,37 +9,37 @@ Using Scala CLI, you can require the entire toolkit in a single line:

Alternatively, you can require just a specific version of UPickle:
```scala
//> using dep com.lihaoyi::upickle:3.1.0
//> using dep com.lihaoyi::upickle:4.1.0
```
{% endtab %}
{% tab 'sbt' %}
In your build.sbt file, you can add the dependency on the Toolkit:
```scala
lazy val example = project.in(file("."))
.settings(
scalaVersion := "3.3.4",
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
scalaVersion := "3.4.2",
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.7.0"
)
```
Alternatively, you can require just a specific version of UPickle:
```scala
libraryDependencies += "com.lihaoyi" %% "upickle" % "3.1.0"
libraryDependencies += "com.lihaoyi" %% "upickle" % "4.1.0"
```
{% endtab %}
{% tab 'Mill' %}
In your build.sc file, you can add the dependency to the upickle library:
```scala
object example extends ScalaModule {
def scalaVersion = "3.3.4"
def scalaVersion = "3.4.2"
def ivyDeps =
Agg(
ivy"org.scala-lang::toolkit:0.1.7"
ivy"org.scala-lang::toolkit:0.7.0"
)
}
```
Alternatively, you can require just a specific version of UPickle:
```scala
ivy"com.lihaoyi::upickle:3.1.0"
ivy"com.lihaoyi::upickle:4.1.0"
```
{% endtab %}
{% endtabs %}
Expand Down