mirror of https://github.com/sbt/sbt.git
Updates for 1.0.0-M9
This commit is contained in:
parent
0de29e62e4
commit
92937cb6ec
18
README.md
18
README.md
|
|
@ -62,7 +62,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
|
||||||
|
|
||||||
Enable the SBT plugin by adding
|
Enable the SBT plugin by adding
|
||||||
```scala
|
```scala
|
||||||
addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M8")
|
addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M9")
|
||||||
```
|
```
|
||||||
to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file
|
to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file
|
||||||
of a SBT project. Tested with SBT 0.13.8 / 0.13.9.
|
of a SBT project. Tested with SBT 0.13.8 / 0.13.9.
|
||||||
|
|
@ -99,8 +99,8 @@ Fetching artifacts
|
||||||
Add to your `build.sbt`
|
Add to your `build.sbt`
|
||||||
```scala
|
```scala
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"com.github.alexarchambault" %% "coursier" % "1.0.0-M8",
|
"com.github.alexarchambault" %% "coursier" % "1.0.0-M9",
|
||||||
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M8"
|
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9"
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -203,7 +203,7 @@ of the cache used by a particular project, in case you have any doubt about what
|
||||||
|
|
||||||
Enable the SBT plugin globally by adding
|
Enable the SBT plugin globally by adding
|
||||||
```scala
|
```scala
|
||||||
addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M8")
|
addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M9")
|
||||||
```
|
```
|
||||||
to `~/.sbt/0.13/plugins/build.sbt`
|
to `~/.sbt/0.13/plugins/build.sbt`
|
||||||
|
|
||||||
|
|
@ -339,7 +339,7 @@ The `bootstrap` generates tiny bootstrap launchers, able to pull their dependenc
|
||||||
repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/alexarchambault/coursier/blob/master/project/generate-launcher.sh) with a command like
|
repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/alexarchambault/coursier/blob/master/project/generate-launcher.sh) with a command like
|
||||||
```
|
```
|
||||||
$ ./coursier bootstrap \
|
$ ./coursier bootstrap \
|
||||||
com.github.alexarchambault:coursier-cli_2.11:1.0.0-M8 \
|
com.github.alexarchambault:coursier-cli_2.11:1.0.0-M9 \
|
||||||
-b -f -o coursier \
|
-b -f -o coursier \
|
||||||
-M coursier.cli.Coursier
|
-M coursier.cli.Coursier
|
||||||
```
|
```
|
||||||
|
|
@ -351,12 +351,12 @@ See `./coursier bootstrap --help` for a list of the available options.
|
||||||
Add to your `build.sbt`
|
Add to your `build.sbt`
|
||||||
```scala
|
```scala
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"com.github.alexarchambault" %% "coursier" % "1.0.0-M8",
|
"com.github.alexarchambault" %% "coursier" % "1.0.0-M9",
|
||||||
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M8"
|
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9"
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M8"`, mainly depends on
|
The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M9"`, mainly depends on
|
||||||
`scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others,
|
`scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others,
|
||||||
definitions,
|
definitions,
|
||||||
mainly in [`Definitions.scala`](https://github.com/alexarchambault/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
|
mainly in [`Definitions.scala`](https://github.com/alexarchambault/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
|
||||||
|
|
@ -366,7 +366,7 @@ that expects to be given metadata, wrapped in any `Monad`, then feeds these to `
|
||||||
you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies,
|
you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies,
|
||||||
including the transitive ones.
|
including the transitive ones.
|
||||||
|
|
||||||
The second module, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M8"`, is precisely in charge of fetching
|
The second module, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9"`, is precisely in charge of fetching
|
||||||
these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.).
|
these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.).
|
||||||
It caches all of these (metadata and artifacts) on disk, and validates checksums too.
|
It caches all of these (metadata and artifacts) on disk, and validates checksums too.
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -62,7 +62,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
|
||||||
|
|
||||||
Enable the SBT plugin by adding
|
Enable the SBT plugin by adding
|
||||||
```scala
|
```scala
|
||||||
addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M8")
|
addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M9")
|
||||||
```
|
```
|
||||||
to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file
|
to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file
|
||||||
of a SBT project. Tested with SBT 0.13.8 / 0.13.9.
|
of a SBT project. Tested with SBT 0.13.8 / 0.13.9.
|
||||||
|
|
@ -99,8 +99,8 @@ Fetching artifacts
|
||||||
Add to your `build.sbt`
|
Add to your `build.sbt`
|
||||||
```scala
|
```scala
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"com.github.alexarchambault" %% "coursier" % "1.0.0-M8",
|
"com.github.alexarchambault" %% "coursier" % "1.0.0-M9",
|
||||||
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M8"
|
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9"
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -225,7 +225,7 @@ of the cache used by a particular project, in case you have any doubt about what
|
||||||
|
|
||||||
Enable the SBT plugin globally by adding
|
Enable the SBT plugin globally by adding
|
||||||
```scala
|
```scala
|
||||||
addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M8")
|
addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M9")
|
||||||
```
|
```
|
||||||
to `~/.sbt/0.13/plugins/build.sbt`
|
to `~/.sbt/0.13/plugins/build.sbt`
|
||||||
|
|
||||||
|
|
@ -363,7 +363,7 @@ The `bootstrap` generates tiny bootstrap launchers, able to pull their dependenc
|
||||||
repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/alexarchambault/coursier/blob/master/project/generate-launcher.sh) with a command like
|
repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/alexarchambault/coursier/blob/master/project/generate-launcher.sh) with a command like
|
||||||
```
|
```
|
||||||
$ ./coursier bootstrap \
|
$ ./coursier bootstrap \
|
||||||
com.github.alexarchambault:coursier-cli_2.11:1.0.0-M8 \
|
com.github.alexarchambault:coursier-cli_2.11:1.0.0-M9 \
|
||||||
-b -f -o coursier \
|
-b -f -o coursier \
|
||||||
-M coursier.cli.Coursier
|
-M coursier.cli.Coursier
|
||||||
```
|
```
|
||||||
|
|
@ -375,12 +375,12 @@ See `./coursier bootstrap --help` for a list of the available options.
|
||||||
Add to your `build.sbt`
|
Add to your `build.sbt`
|
||||||
```scala
|
```scala
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"com.github.alexarchambault" %% "coursier" % "1.0.0-M8",
|
"com.github.alexarchambault" %% "coursier" % "1.0.0-M9",
|
||||||
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M8"
|
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9"
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M8"`, mainly depends on
|
The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M9"`, mainly depends on
|
||||||
`scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others,
|
`scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others,
|
||||||
definitions,
|
definitions,
|
||||||
mainly in [`Definitions.scala`](https://github.com/alexarchambault/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
|
mainly in [`Definitions.scala`](https://github.com/alexarchambault/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
|
||||||
|
|
@ -390,7 +390,7 @@ that expects to be given metadata, wrapped in any `Monad`, then feeds these to `
|
||||||
you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies,
|
you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies,
|
||||||
including the transitive ones.
|
including the transitive ones.
|
||||||
|
|
||||||
The second module, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M8"`, is precisely in charge of fetching
|
The second module, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9"`, is precisely in charge of fetching
|
||||||
these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.).
|
these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.).
|
||||||
It caches all of these (metadata and artifacts) on disk, and validates checksums too.
|
It caches all of these (metadata and artifacts) on disk, and validates checksums too.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
### Changes
|
||||||
|
|
||||||
|
* Track errored files in cache when possible, so as not to try to download them again ([#174])
|
||||||
|
* Force the versions of the `scala-{library,reflect,compiler}` and `scalap` modules from `org.scala-lang` to the current Scala version, in the SBT plugin ([#172])
|
||||||
|
* Launcher apps generated by the `bootstrap` command can involve specific classifiers ([#173])
|
||||||
|
* Custom Java options can be put in the launcher apps generated by the `bootstrap` command ([#173])
|
||||||
|
* Have the coursier launcher depend only the published proguarded standalone version of the coursier-cli module ([#173])
|
||||||
|
* Add support for the `sbt.override.build.repos` flag, in the SBT plugin ([#167])
|
||||||
|
* Escape special characters in the cache ([#167])
|
||||||
|
* Add `--force` option to the `fetch` command, to fetch artifacts even if the resolution is errored ([#161])
|
||||||
|
* Have the `COURSIER_NO_TERM` environment variable disable progress bars both from the CLI app and the SBT plugin ([#163])
|
||||||
|
* Allow local Maven repositories, in the SBT plugin ([#155])
|
||||||
|
|
||||||
|
|
||||||
|
[#155]: https://github.com/alexarchambault/coursier/pull/155
|
||||||
|
[#161]: https://github.com/alexarchambault/coursier/pull/161
|
||||||
|
[#163]: https://github.com/alexarchambault/coursier/pull/163
|
||||||
|
[#167]: https://github.com/alexarchambault/coursier/pull/167
|
||||||
|
[#172]: https://github.com/alexarchambault/coursier/pull/172
|
||||||
|
[#173]: https://github.com/alexarchambault/coursier/pull/173
|
||||||
|
[#174]: https://github.com/alexarchambault/coursier/pull/174
|
||||||
|
|
||||||
|
### Non-backward compatible changes
|
||||||
|
|
||||||
|
* Minor binary and source compatiblity breaking on `FileError.NotFound` (addition of an optional parameter)
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.0.0-M8
|
VERSION=1.0.0-M9
|
||||||
CACHE_VERSION=v1
|
CACHE_VERSION=v1
|
||||||
|
|
||||||
SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier"
|
SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue