@@ -197,7 +197,7 @@ <h1 id="the-book-of-sbt-draft"><a class="header" href="#the-book-of-sbt-draft">T
197
197
integrates with IDEs like IntelliJ and VS Code,
198
198
makes JAR packages, and publishes them to < a href ="https://central.sonatype.com/ "> Maven Central</ a > ,
199
199
JVM community's package registry.</ p >
200
- < pre > < code class ="language-scala "> scalaVersion := "3.3.1 "
200
+ < pre > < code class ="language-scala "> scalaVersion := "3.3.3 "
201
201
</ code > </ pre >
202
202
< p > You just need one line of < code > build.sbt</ code > to get started with Scala.</ p >
203
203
< div style ="break-before: page; page-break-before: always; "> </ div > < h1 id ="installing-sbt-runner "> < a class ="header " href ="#installing-sbt-runner "> Installing sbt runner</ a > </ h1 >
@@ -557,17 +557,17 @@ <h3 id="set-the-version"><a class="header" href="#set-the-version">Set the versi
557
557
< p > Change < code > build.sbt</ code > as follows:</ p >
558
558
< p > @@snip < a href ="$root$/src/sbt-test/ref/example-weather/changes/build3.sbt "> example-weather-build3</ a > {}</ p >
559
559
< h3 id ="switch-scalaversion-temporarily "> < a class ="header " href ="#switch-scalaversion-temporarily "> Switch scalaVersion temporarily</ a > </ h3 >
560
- < pre > < code > sbt:Hello> ++3.3.1 !
561
- [info] Forcing Scala version to 3.3.1 on all projects.
560
+ < pre > < code > sbt:Hello> ++3.3.3 !
561
+ [info] Forcing Scala version to 3.3.3 on all projects.
562
562
[info] Reapplying settings...
563
563
[info] Set current project to Hello (in build file:/tmp/foo-build/)
564
564
</ code > </ pre >
565
565
< p > Check the < code > scalaVersion</ code > setting:</ p >
566
566
< pre > < code > sbt:Hello> scalaVersion
567
567
[info] helloCore / scalaVersion
568
- [info] 3.3.1
568
+ [info] 3.3.3
569
569
[info] scalaVersion
570
- [info] 3.3.1
570
+ [info] 3.3.3
571
571
</ code > </ pre >
572
572
< p > This setting will go away after < code > reload</ code > .</ p >
573
573
< h3 id ="inspect-the-dist-task "> < a class ="header " href ="#inspect-the-dist-task "> Inspect the dist task</ a > </ h3 >
@@ -760,7 +760,7 @@ <h3 id="coursier"><a class="header" href="#coursier">Coursier</a></h3>
760
760
< h3 id ="zinc "> < a class ="header " href ="#zinc "> Zinc</ a > </ h3 >
761
761
< p > Zinc is the incremental compiler for Scala, developed and maintained by sbt project.
762
762
An often overlooked aspect of Zinc is that Zinc provides a stable API to invoke < strong > any modern versions</ strong > of Scala compiler. Combined with the fact that Coursier can resolve any Scala version, with sbt we can invoke any modern versions of Scala just by writing a single line < code > build.sbt</ code > :</ p >
763
- < pre > < code class ="language-scala "> scalaVersion := "3.3.1 "
763
+ < pre > < code class ="language-scala "> scalaVersion := "3.3.3 "
764
764
</ code > </ pre >
765
765
< h3 id ="bsp-server "> < a class ="header " href ="#bsp-server "> BSP server</ a > </ h3 >
766
766
< p > The sbt server supports < a href ="https://build-server-protocol.github.io/ "> Build Server Protocol (BSP)</ a > to list build targets, build them, etc.
@@ -944,13 +944,13 @@ <h3 id="what-is-a-build-definition"><a class="header" href="#what-is-a-build-def
944
944
we often call it a < em > subproject</ em > in this guide.</ p >
945
945
< p > For instance, in < code > build.sbt</ code > you define
946
946
the subproject located in the current directory like this:</ p >
947
- < pre > < code class ="language-scala "> scalaVersion := "3.3.1 "
947
+ < pre > < code class ="language-scala "> scalaVersion := "3.3.3 "
948
948
name := "Hello"
949
949
</ code > </ pre >
950
950
< p > or more explicitly:</ p >
951
951
< pre > < code class ="language-scala "> lazy val root = (project in file("."))
952
952
.settings(
953
- scalaVersion := "3.3.1 ",
953
+ scalaVersion := "3.3.3 ",
954
954
name := "Hello",
955
955
)
956
956
</ code > </ pre >
@@ -995,7 +995,7 @@ <h3 id="vals-and-lazy-vals"><a class="header" href="#vals-and-lazy-vals"><code>v
995
995
val toolkit = "org.scala-lang" %% "toolkit" % toolkitV
996
996
val toolkitTest = "org.scala-lang" %% "toolkit-test" % toolkitV
997
997
998
- scalaVersion := "3.3.1 "
998
+ scalaVersion := "3.3.3 "
999
999
libraryDependencies += toolkit
1000
1000
libraryDependencies += (toolkitTest % Test)
1001
1001
</ code > </ pre >
@@ -1079,7 +1079,7 @@ <h2 id="tracking-dependencies-in-one-place"><a class="header" href="#tracking-de
1079
1079
To make it easier to use the < code > val</ code > s defined in it, import < code > Dependencies.*</ code > in your build.sbt file.</ p >
1080
1080
< pre > < code class ="language-scala "> import Dependencies.*
1081
1081
1082
- scalaVersion := "3.3.1 "
1082
+ scalaVersion := "3.3.3 "
1083
1083
name := "something"
1084
1084
libraryDependencies += toolkit
1085
1085
libraryDependencies += toolkitTest % Test
@@ -1107,7 +1107,7 @@ <h2 id="viewing-library-dependencies"><a class="header" href="#viewing-library-d
1107
1107
other project.</ p >
1108
1108
< p > A project is defined by declaring a lazy val of type
1109
1109
< a href ="guide/../../api/sbt/Project.html "> Project</ a > . For example, :</ p >
1110
- < pre > < code class ="language-scala "> scalaVersion := "3.3.1 "
1110
+ < pre > < code class ="language-scala "> scalaVersion := "3.3.3 "
1111
1111
1112
1112
lazy val core = (project in file("core"))
1113
1113
.settings(
0 commit comments