Skip to content

Commit

Permalink
update example scala 3 version
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Sep 10, 2024
1 parent a29ff75 commit 64f676e
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cname = "www.scala-sbt.org"
[preprocessor.variables.variables]
sbt_version = "2.0.0-alpha7"
sbt_runner_version = "1.10.0"
scala3_example_version = "3.3.1"
scala3_example_version = "3.3.3"

[preprocessor.admonish]
command = "mdbook-admonish"
Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started/02-sbt-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ Change `build.sbt` as follows:
### Switch scalaVersion temporarily

```
sbt:Hello> ++3.3.1!
[info] Forcing Scala version to 3.3.1 on all projects.
sbt:Hello> ++3.3.3!
[info] Forcing Scala version to 3.3.3 on all projects.
[info] Reapplying settings...
[info] Set current project to Hello (in build file:/tmp/foo-build/)
```
Expand All @@ -495,9 +495,9 @@ Check the `scalaVersion` setting:
```
sbt:Hello> scalaVersion
[info] helloCore / scalaVersion
[info] 3.3.1
[info] 3.3.3
[info] scalaVersion
[info] 3.3.1
[info] 3.3.3
```

This setting will go away after `reload`.
Expand Down
2 changes: 1 addition & 1 deletion project/Docs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object Docs {
lazy val targetSbtFullVersion = "1.10.1"
lazy val sbtVersionForScalaDoc = targetSbtFullVersion
lazy val sbtWindowsBuild = targetSbtFullVersion
lazy val scala3ExampleVersion = "3.3.1"
lazy val scala3ExampleVersion = "3.3.3"

lazy val Redirect = config("redirect")
lazy val RedirectTutorial = config("redirect-tutorial")
Expand Down
8 changes: 4 additions & 4 deletions src/reference/es/00-Getting-Started/02-sbt-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,8 @@ Cambia `build.sbt` como sigue:
### Cambiar `scalaVersion` temporalmente

```
sbt:Hello> ++3.3.1!
[info] Forcing Scala version to 3.3.1 on all projects.
sbt:Hello> ++3.3.3!
[info] Forcing Scala version to 3.3.3 on all projects.
[info] Reapplying settings...
[info] Set current project to Hello (in build file:/tmp/foo-build/)
```
Expand All @@ -505,9 +505,9 @@ Comprueba la entrada `scalaVersion`:
```
sbt:Hello> scalaVersion
[info] helloCore / scalaVersion
[info] 3.3.1
[info] 3.3.3
[info] scalaVersion
[info] 3.3.1
[info] 3.3.3
```

Esta entrada se esfumará tras un `reload`.
Expand Down
8 changes: 4 additions & 4 deletions src/reference/ja/00-Getting-Started/02-sbt-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,8 @@ Hello! The current temperature in New York is 22.7 C.
### Switch scalaVersion temporarily

```
sbt:Hello> ++3.3.1!
[info] Forcing Scala version to 3.3.1 on all projects.
sbt:Hello> ++3.3.3!
[info] Forcing Scala version to 3.3.3 on all projects.
[info] Reapplying settings...
[info] Set current project to Hello (in build file:/private/tmp/foo-build/)
```
Expand All @@ -489,9 +489,9 @@ sbt:Hello> ++3.3.1!
```
sbt:Hello> scalaVersion
[info] helloCore / scalaVersion
[info] 3.3.1
[info] 3.3.3
[info] scalaVersion
[info] 3.3.1
[info] 3.3.3
```

このセッティングは `reload` 後には無くなる。
Expand Down
8 changes: 4 additions & 4 deletions src/reference/sbt-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ Change `build.sbt` as follows:
### Switch scalaVersion temporarily

```
sbt:Hello> ++3.3.1!
[info] Forcing Scala version to 3.3.1 on all projects.
sbt:Hello> ++3.3.3!
[info] Forcing Scala version to 3.3.3 on all projects.
[info] Reapplying settings...
[info] Set current project to Hello (in build file:/tmp/foo-build/)
```
Expand All @@ -492,9 +492,9 @@ Check the `scalaVersion` setting:
```
sbt:Hello> scalaVersion
[info] helloCore / scalaVersion
[info] 3.3.1
[info] 3.3.3
[info] scalaVersion
[info] 3.3.1
[info] 3.3.3
```

This setting will go away after `reload`.
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/ref/bare/build.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
scalaVersion := "3.3.1"
scalaVersion := "3.3.3"
name := "Hello"
2 changes: 1 addition & 1 deletion src/sbt-test/ref/basic/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lazy val root = (project in file("."))
.settings(
scalaVersion := "3.3.1",
scalaVersion := "3.3.3",
name := "Hello",
)
2 changes: 1 addition & 1 deletion variables.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const sbtVersion = "1.10.1";
const scala3ExampleVersion = "3.3.1";
const scala3ExampleVersion = "3.3.3";
const releasesBase = "https://github.com/sbt/sbt/releases/download";
const VersionList = [
{ v: "1.10.1" },
Expand Down

0 comments on commit 64f676e

Please sign in to comment.