Skip to content

Commit 3254c38

Browse files
committed
updated site
1 parent 5ef7b9b commit 3254c38

File tree

8 files changed

+20
-14
lines changed

8 files changed

+20
-14
lines changed

2.x/docs/en/changes/migrating-from-sbt-1.x.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,10 @@ <h1 class="menu-title">The Book of sbt</h1>
178178
<h1 id="migrating-from-sbt-1x"><a class="header" href="#migrating-from-sbt-1x">Migrating from sbt 1.x</a></h1>
179179
<h2 id="changing-buildsbt-dsl-to-scala-3x"><a class="header" href="#changing-buildsbt-dsl-to-scala-3x">Changing <code>build.sbt</code> DSL to Scala 3.x</a></h2>
180180
<p>As a reminder, users can build either Scala 2.x or Scala 3.x programs using either sbt 1.x or sbt 2.x. However, the Scala that underlies the <code>build.sbt</code> DSL is determined by the sbt version. In sbt 2.0, we are migrating to Scala 3.x.</p>
181-
<p>This means that if you implement custom tasks or sbt plugins for sbt 2.x, it must be done using Scala 3.x. See <a href="https://docs.scala-lang.org/scala3/guides/migration/incompatibility-table.html">Scala 3.x incompatibility table</a> for the list of potential migration points.</p>
181+
<p>This means that if you implement custom tasks or sbt plugins for sbt 2.x, it must be done using Scala 3.x. See <a href="https://docs.scala-lang.org/scala3/guides/migration/incompatibility-table.html">Scala 3.x incompatibility table</a> and <a href="https://docs.scala-lang.org/scala3/guides/migration/tooling-scala2-xsource3.html">Scala 2 with -Xsource:3</a>.</p>
182+
<pre><code class="language-scala">// This works on Scala 2.12.20 under -Xsource:3
183+
import sbt.{ given, * }
184+
</code></pre>
182185
<h2 id="bare-settings-changes"><a class="header" href="#bare-settings-changes">Bare settings changes</a></h2>
183186
<pre><code class="language-scala">version := "0.1.0"
184187
scalaVersion := "3.3.3"

2.x/docs/en/print.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,10 @@ <h2 id="previously-on-sbt"><a class="header" href="#previously-on-sbt">Previousl
14431443
<div style="break-before: page; page-break-before: always;"></div><h1 id="migrating-from-sbt-1x"><a class="header" href="#migrating-from-sbt-1x">Migrating from sbt 1.x</a></h1>
14441444
<h2 id="changing-buildsbt-dsl-to-scala-3x"><a class="header" href="#changing-buildsbt-dsl-to-scala-3x">Changing <code>build.sbt</code> DSL to Scala 3.x</a></h2>
14451445
<p>As a reminder, users can build either Scala 2.x or Scala 3.x programs using either sbt 1.x or sbt 2.x. However, the Scala that underlies the <code>build.sbt</code> DSL is determined by the sbt version. In sbt 2.0, we are migrating to Scala 3.x.</p>
1446-
<p>This means that if you implement custom tasks or sbt plugins for sbt 2.x, it must be done using Scala 3.x. See <a href="https://docs.scala-lang.org/scala3/guides/migration/incompatibility-table.html">Scala 3.x incompatibility table</a> for the list of potential migration points.</p>
1446+
<p>This means that if you implement custom tasks or sbt plugins for sbt 2.x, it must be done using Scala 3.x. See <a href="https://docs.scala-lang.org/scala3/guides/migration/incompatibility-table.html">Scala 3.x incompatibility table</a> and <a href="https://docs.scala-lang.org/scala3/guides/migration/tooling-scala2-xsource3.html">Scala 2 with -Xsource:3</a>.</p>
1447+
<pre><code class="language-scala">// This works on Scala 2.12.20 under -Xsource:3
1448+
import sbt.{ given, * }
1449+
</code></pre>
14471450
<h2 id="bare-settings-changes"><a class="header" href="#bare-settings-changes">Bare settings changes</a></h2>
14481451
<pre><code class="language-scala">version := "0.1.0"
14491452
scalaVersion := "3.3.3"

2.x/docs/en/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

2.x/docs/en/searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,49 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://www.scala-sbt.org/support.html</loc>
5-
<lastmod>2024-10-04</lastmod>
5+
<lastmod>2024-10-05</lastmod>
66
<changefreq>weekly</changefreq>
77
<priority>1.0</priority>
88
</url>
99
<url>
1010
<loc>https://www.scala-sbt.org/404.html</loc>
11-
<lastmod>2024-10-04</lastmod>
11+
<lastmod>2024-10-05</lastmod>
1212
<changefreq>weekly</changefreq>
1313
<priority>1.0</priority>
1414
</url>
1515
<url>
1616
<loc>https://www.scala-sbt.org/cookie.html</loc>
17-
<lastmod>2024-10-04</lastmod>
17+
<lastmod>2024-10-05</lastmod>
1818
<changefreq>weekly</changefreq>
1919
<priority>1.0</priority>
2020
</url>
2121
<url>
2222
<loc>https://www.scala-sbt.org/download.html</loc>
23-
<lastmod>2024-10-04</lastmod>
23+
<lastmod>2024-10-05</lastmod>
2424
<changefreq>weekly</changefreq>
2525
<priority>1.0</priority>
2626
</url>
2727
<url>
2828
<loc>https://www.scala-sbt.org/thank-you.html</loc>
29-
<lastmod>2024-10-04</lastmod>
29+
<lastmod>2024-10-05</lastmod>
3030
<changefreq>never</changefreq>
3131
<priority>0.0</priority>
3232
</url>
3333
<url>
3434
<loc>https://www.scala-sbt.org/community.html</loc>
35-
<lastmod>2024-10-04</lastmod>
35+
<lastmod>2024-10-05</lastmod>
3636
<changefreq>weekly</changefreq>
3737
<priority>1.0</priority>
3838
</url>
3939
<url>
4040
<loc>https://www.scala-sbt.org/index.html</loc>
41-
<lastmod>2024-10-04</lastmod>
41+
<lastmod>2024-10-05</lastmod>
4242
<changefreq>weekly</changefreq>
4343
<priority>1.0</priority>
4444
</url>
4545
<url>
4646
<loc>https://www.scala-sbt.org/learn.html</loc>
47-
<lastmod>2024-10-04</lastmod>
47+
<lastmod>2024-10-05</lastmod>
4848
<changefreq>weekly</changefreq>
4949
<priority>1.0</priority>
5050
</url>

sitemap.xml.gz

0 Bytes
Binary file not shown.

sitemap_index.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<sitemap>
44
<loc>https://www.scala-sbt.org/sitemap.xml.gz</loc>
5-
<lastmod>2024-10-04</lastmod>
5+
<lastmod>2024-10-05</lastmod>
66
</sitemap>
77
<sitemap>
88
<loc>https://www.scala-sbt.org/1.x/sitemap.xml.gz</loc>
9-
<lastmod>2024-10-04</lastmod>
9+
<lastmod>2024-10-05</lastmod>
1010
</sitemap>
1111
</sitemapindex>

sitemap_index.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)