mirror of https://github.com/sbt/sbt.git
[2.x] Bump to 2.0.0-RC9-bin-SNAPSHOT (#8666)
This commit is contained in:
parent
d633de5c3f
commit
a6e4c9c3c1
|
|
@ -10,7 +10,7 @@ import com.eed3si9n.jarjarabrams.ModuleCoordinate
|
|||
// ThisBuild settings take lower precedence,
|
||||
// but can be shared across the multi projects.
|
||||
ThisBuild / version := {
|
||||
val v = "2.0.0-RC8-bin-SNAPSHOT"
|
||||
val v = "2.0.0-RC9-bin-SNAPSHOT"
|
||||
nightlyVersion.getOrElse(v)
|
||||
}
|
||||
ThisBuild / Utils.version2_13 := "2.0.0-SNAPSHOT"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ $ sbt --server
|
|||
|
||||
### Clearing out boot and local cache
|
||||
|
||||
sbt consists of lots of JAR files. When running sbt locally, these JAR artifacts are cached in the `boot` directory under `$HOME/.sbt/boot/scala-3.8.1/org.scala-sbt/sbt/2.0.0-RC8-bin-SNAPSHOT` directory (The Scala version and sbt version part changes).
|
||||
sbt consists of lots of JAR files. When running sbt locally, these JAR artifacts are cached in the `boot` directory under `$HOME/.sbt/boot/scala-3.8.1/org.scala-sbt/sbt/2.0.0-RC9-bin-SNAPSHOT` directory (The Scala version and sbt version part changes).
|
||||
|
||||
In order to see a change you've made to sbt's source code, this cache MUST be cleared. To clear this out, from the sbt shell in your application run:
|
||||
|
||||
|
|
@ -30,6 +30,12 @@ In order to see a change you've made to sbt's source code, this cache MUST be cl
|
|||
> reboot dev
|
||||
```
|
||||
|
||||
Alternatively from Bash:
|
||||
|
||||
```bash
|
||||
$ rm -rf $HOME/.sbt/boot/scala-3.*
|
||||
```
|
||||
|
||||
By default sbt uses a snapshot version (this is a scala convention for quick local changes- it tells users that this version could change).
|
||||
One drawback of `-SNAPSHOT` version is that it's slow to resolve as it tries to hit all the resolvers.
|
||||
This is important when testing performance, so that the slowness of the resolution does not impact sbt.
|
||||
|
|
|
|||
Loading…
Reference in New Issue