You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
details of both 2.x and this doc are subject to change.</p>
190
190
</div>
191
191
</div>
192
+
<h2id="changes-with-compatibility-implications"><aclass="header" href="#changes-with-compatibility-implications">Changes with compatibility implications</a></h2>
193
+
<p>See also <ahref="./migrating-from-sbt-1.x.html">Migrating from sbt 1.x</a>.</p>
192
194
<ul>
193
195
<li>sbt 2.x uses Scala 3.x for build definitions and plugins (Both sbt 1.x and 2.x are capable of building Scala 2.x and 3.x) by <ahref="https://github.com/eed3si9n">@eed3si9n</a>, <ahref="https://github.com/adpi2">@adpi2</a>, and others.</li>
194
196
<li>Bare settings are added to all subprojects, as opposed to just the root subproject, and thus replacing the role that <code>ThisBuild</code> has played. by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/6746">#6746</a></li>
195
197
<li><code>test</code> task is changed to be incremental test that can cache test results. Use <code>testFull</code> for full test by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/7686">#7686</a></li>
198
+
<li>sbt 2.x plugins are published with <code>_sbt2_3</code> suffix by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/7671">#7671</a></li>
196
199
<li>sbt 2.x adds <code>platform</code> setting so <code>ModuleID</code>'s <code>%%</code> operator can cross build on JVM as well as JS and Native, as opposed to <code>%%%</code> operator that was created in a plugin to workaround this issue. by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/6746">#6746</a></li>
<li>Project matrix, which was available via plugin in sbt 1.x, is in-sourced.</li>
197
208
<li>Local/remote hybrid cache system. sbt 2.x implements cached task, which can automatically cache the task results to local disk and Bazel-compatible remote cache. by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/7464">#7464</a> / <ahref="https://github.com/sbt/sbt/pull/7525">#7525</a></li>
198
209
</ul>
199
210
<h2id="previously-on-sbt"><aclass="header" href="#previously-on-sbt">Previously on sbt</a></h2>
details of both 2.x and this doc are subject to change.</p>
1365
1365
</div>
1366
1366
</div>
1367
+
<h2id="changes-with-compatibility-implications"><aclass="header" href="#changes-with-compatibility-implications">Changes with compatibility implications</a></h2>
1368
+
<p>See also <ahref="changes/./migrating-from-sbt-1.x.html">Migrating from sbt 1.x</a>.</p>
1367
1369
<ul>
1368
1370
<li>sbt 2.x uses Scala 3.x for build definitions and plugins (Both sbt 1.x and 2.x are capable of building Scala 2.x and 3.x) by <ahref="https://github.com/eed3si9n">@eed3si9n</a>, <ahref="https://github.com/adpi2">@adpi2</a>, and others.</li>
1369
1371
<li>Bare settings are added to all subprojects, as opposed to just the root subproject, and thus replacing the role that <code>ThisBuild</code> has played. by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/6746">#6746</a></li>
1370
1372
<li><code>test</code> task is changed to be incremental test that can cache test results. Use <code>testFull</code> for full test by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/7686">#7686</a></li>
1373
+
<li>sbt 2.x plugins are published with <code>_sbt2_3</code> suffix by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/7671">#7671</a></li>
1371
1374
<li>sbt 2.x adds <code>platform</code> setting so <code>ModuleID</code>'s <code>%%</code> operator can cross build on JVM as well as JS and Native, as opposed to <code>%%%</code> operator that was created in a plugin to workaround this issue. by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/6746">#6746</a></li>
<li>Project matrix, which was available via plugin in sbt 1.x, is in-sourced.</li>
1372
1383
<li>Local/remote hybrid cache system. sbt 2.x implements cached task, which can automatically cache the task results to local disk and Bazel-compatible remote cache. by <ahref="https://github.com/eed3si9n">@eed3si9n</a> in <ahref="https://github.com/sbt/sbt/pull/7464">#7464</a> / <ahref="https://github.com/sbt/sbt/pull/7525">#7525</a></li>
1373
1384
</ul>
1374
1385
<h2id="previously-on-sbt"><aclass="header" href="#previously-on-sbt">Previously on sbt</a></h2>
0 commit comments