Skip to content

Commit ad7324c

Browse files
authored
Merge pull request #3159 from KevinBoyette/update-os-lib-version
update os-lib versions in example
2 parents 8e94d44 + a29c86d commit ad7324c

File tree

5 files changed

+32
-32
lines changed

5 files changed

+32
-32
lines changed

_includes/_markdown/install-cask.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% tab 'Scala CLI' %}
66
You can declare a dependency on Cask with the following `using` directive:
77
```scala
8-
//> using dep com.lihaoyi::cask::0.9.2
8+
//> using dep com.lihaoyi::cask::0.10.2
99
```
1010
{% endtab %}
1111

@@ -15,7 +15,7 @@ In your `build.sbt`, you can add a dependency on Cask:
1515
lazy val example = project.in(file("example"))
1616
.settings(
1717
scalaVersion := "3.4.2",
18-
libraryDependencies += "com.lihaoyi" %% "cask" % "0.9.2",
18+
libraryDependencies += "com.lihaoyi" %% "cask" % "0.10.2",
1919
fork := true
2020
)
2121
```
@@ -25,9 +25,9 @@ lazy val example = project.in(file("example"))
2525
In your `build.sc`, you can add a dependency on Cask:
2626
```scala
2727
object example extends RootModule with ScalaModule {
28-
def scalaVersion = "3.3.4"
28+
def scalaVersion = "3.4.2"
2929
def ivyDeps = Agg(
30-
ivy"com.lihaoyi::cask::0.9.2"
30+
ivy"com.lihaoyi::cask::0.10.2"
3131
)
3232
}
3333
```

_includes/_markdown/install-munit.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,43 +10,43 @@ MUnit, being a testing framework, is only available in test files: files in a `t
1010

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

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

2828
Alternatively, you can require just a specific version of MUnit:
2929
```scala
30-
libraryDependencies += "org.scalameta" %% "munit" % "1.0.3" % Test
30+
libraryDependencies += "org.scalameta" %% "munit" % "1.1.0" % Test
3131
```
3232
{% endtab %}
3333
{% tab 'Mill' %}
3434
In your build.sc file, you can add a `test` object extending `Tests` and `TestModule.Munit`:
3535
```scala
3636
object example extends ScalaModule {
37-
def scalaVersion = "3.3.4"
37+
def scalaVersion = "3.4.2"
3838
object test extends Tests with TestModule.Munit {
3939
def ivyDeps =
4040
Agg(
41-
ivy"org.scala-lang::toolkit-test:0.1.7"
41+
ivy"org.scala-lang::toolkit-test:0.7.0"
4242
)
4343
}
4444
}
4545
```
4646

4747
Alternatively, you can require just a specific version of MUnit:
4848
```scala
49-
ivy"org.scalameta::munit:1.0.3"
49+
ivy"org.scalameta::munit:1.1.0"
5050
```
5151
{% endtab %}
5252
{% endtabs %}

_includes/_markdown/install-os-lib.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,37 @@ You can require the entire toolkit in a single line:
99

1010
Alternatively, you can require just a specific version of OS-Lib:
1111
```scala
12-
//> using dep com.lihaoyi::os-lib:0.9.1
12+
//> using dep com.lihaoyi::os-lib:0.11.3
1313
```
1414
{% endtab %}
1515
{% tab 'sbt' %}
1616
In your `build.sbt`, you can add a dependency on the toolkit:
1717
```scala
1818
lazy val example = project.in(file("."))
1919
.settings(
20-
scalaVersion := "3.3.4",
21-
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
20+
scalaVersion := "3.4.2",
21+
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.7.0"
2222
)
2323
```
2424
Alternatively, you can require just a specific version of OS-Lib:
2525
```scala
26-
libraryDependencies += "com.lihaoyi" %% "os-lib" % "0.9.1"
26+
libraryDependencies += "com.lihaoyi" %% "os-lib" % "0.11.3"
2727
```
2828
{% endtab %}
2929
{% tab 'Mill' %}
3030
In your `build.sc` file, you can add a dependency on the Toolkit:
3131
```scala
3232
object example extends ScalaModule {
33-
def scalaVersion = "3.3.4"
33+
def scalaVersion = "3.4.2"
3434
def ivyDeps =
3535
Agg(
36-
ivy"org.scala-lang::toolkit:0.1.7"
36+
ivy"org.scala-lang::toolkit:0.7.0"
3737
)
3838
}
3939
```
4040
Alternatively, you can require just a specific version of OS-Lib:
4141
```scala
42-
ivy"com.lihaoyi::os-lib:0.9.1"
42+
ivy"com.lihaoyi::os-lib:0.11.3"
4343
```
4444
{% endtab %}
4545
{% endtabs %}

_includes/_markdown/install-sttp.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,38 @@ You can require the entire toolkit in a single line:
99

1010
Alternatively, you can require just a specific version of sttp:
1111
```scala
12-
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M6
12+
//> using dep com.softwaremill.sttp.client4::core:4.0.0-RC1
1313
```
1414
{% endtab %}
1515
{% tab 'sbt' %}
1616
In your build.sbt file, you can add a dependency on the Toolkit:
1717
```scala
1818
lazy val example = project.in(file("."))
1919
.settings(
20-
scalaVersion := "3.3.4",
21-
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
20+
scalaVersion := "3.4.2",
21+
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.7.0"
2222
)
2323
```
2424

2525
Alternatively, you can require just a specific version of sttp:
2626
```scala
27-
libraryDependencies += "com.softwaremill.sttp.client4" %% "core" % "4.0.0-M6"
27+
libraryDependencies += "com.softwaremill.sttp.client4" %% "core" % "4.0.0-RC1"
2828
```
2929
{% endtab %}
3030
{% tab 'Mill' %}
3131
In your build.sc file, you can add a dependency on the Toolkit:
3232
```scala
3333
object example extends ScalaModule {
34-
def scalaVersion = "3.3.4"
34+
def scalaVersion = "3.4.2"
3535
def ivyDeps =
3636
Agg(
37-
ivy"org.scala-lang::toolkit:0.1.7"
37+
ivy"org.scala-lang::toolkit:0.7.0"
3838
)
3939
}
4040
```
4141
Alternatively, you can require just a specific version of sttp:
4242
```scala
43-
ivy"com.softwaremill.sttp.client4::core:4.0.0-M6"
43+
ivy"com.softwaremill.sttp.client4::core:4.0.0-RC1"
4444
```
4545
{% endtab %}
4646
{% endtabs %}

_includes/_markdown/install-upickle.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,37 @@ Using Scala CLI, you can require the entire toolkit in a single line:
99

1010
Alternatively, you can require just a specific version of UPickle:
1111
```scala
12-
//> using dep com.lihaoyi::upickle:3.1.0
12+
//> using dep com.lihaoyi::upickle:4.1.0
1313
```
1414
{% endtab %}
1515
{% tab 'sbt' %}
1616
In your build.sbt file, you can add the dependency on the Toolkit:
1717
```scala
1818
lazy val example = project.in(file("."))
1919
.settings(
20-
scalaVersion := "3.3.4",
21-
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
20+
scalaVersion := "3.4.2",
21+
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.7.0"
2222
)
2323
```
2424
Alternatively, you can require just a specific version of UPickle:
2525
```scala
26-
libraryDependencies += "com.lihaoyi" %% "upickle" % "3.1.0"
26+
libraryDependencies += "com.lihaoyi" %% "upickle" % "4.1.0"
2727
```
2828
{% endtab %}
2929
{% tab 'Mill' %}
3030
In your build.sc file, you can add the dependency to the upickle library:
3131
```scala
3232
object example extends ScalaModule {
33-
def scalaVersion = "3.3.4"
33+
def scalaVersion = "3.4.2"
3434
def ivyDeps =
3535
Agg(
36-
ivy"org.scala-lang::toolkit:0.1.7"
36+
ivy"org.scala-lang::toolkit:0.7.0"
3737
)
3838
}
3939
```
4040
Alternatively, you can require just a specific version of UPickle:
4141
```scala
42-
ivy"com.lihaoyi::upickle:3.1.0"
42+
ivy"com.lihaoyi::upickle:4.1.0"
4343
```
4444
{% endtab %}
4545
{% endtabs %}

0 commit comments

Comments
 (0)