mirror of https://github.com/sbt/sbt.git
Update version in README
This commit is contained in:
parent
7bae4d4728
commit
6de589ac9b
20
README.md
20
README.md
|
|
@ -76,7 +76,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
|
|||
|
||||
Enable the SBT plugin by adding
|
||||
```scala
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.1")
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3")
|
||||
```
|
||||
to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file
|
||||
of an SBT project. Tested with SBT 0.13.8 / 0.13.9 / 0.13.11 / 0.13.12 / 0.13.13 / 0.13.15 / 0.13.16-M1 / 1.0.1-M5.
|
||||
|
|
@ -129,8 +129,8 @@ echo 'autoload -Uz compinit ; compinit' >> ~/.zshrc
|
|||
Add to your `build.sbt`
|
||||
```scala
|
||||
libraryDependencies ++= Seq(
|
||||
"io.get-coursier" %% "coursier" % "1.0.1",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.1"
|
||||
"io.get-coursier" %% "coursier" % "1.0.3",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.3"
|
||||
)
|
||||
```
|
||||
|
||||
|
|
@ -238,7 +238,7 @@ of the cache used by a particular project, in case you have any doubt about what
|
|||
|
||||
Enable the SBT plugin globally by adding
|
||||
```scala
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.1")
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3")
|
||||
```
|
||||
to `~/.sbt/0.13/plugins/build.sbt`
|
||||
|
||||
|
|
@ -413,7 +413,7 @@ The `bootstrap` command generates tiny bootstrap launchers, able to pull their d
|
|||
repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like
|
||||
```
|
||||
$ ./coursier bootstrap \
|
||||
io.get-coursier:coursier-cli_2.11:1.0.1 \
|
||||
io.get-coursier:coursier-cli_2.11:1.0.3 \
|
||||
-f -o coursier
|
||||
```
|
||||
|
||||
|
|
@ -425,7 +425,7 @@ The `bootstrap` command can also generate [scala-native](http://scala-native.org
|
|||
```
|
||||
$ ./coursier bootstrap \
|
||||
--native \
|
||||
io.get-coursier:echo_native0.3_2.11:1.0.1 \
|
||||
io.get-coursier:echo_native0.3_2.11:1.0.3 \
|
||||
-o echo-native
|
||||
[info] Linking (2354 ms)
|
||||
[info] Discovered 1291 classes and 9538 methods
|
||||
|
|
@ -439,14 +439,14 @@ hey
|
|||
Add to your `build.sbt`
|
||||
```scala
|
||||
libraryDependencies ++= Seq(
|
||||
"io.get-coursier" %% "coursier" % "1.0.1",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.1"
|
||||
"io.get-coursier" %% "coursier" % "1.0.3",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.3"
|
||||
)
|
||||
```
|
||||
|
||||
Note that the examples below are validated against the current sources of coursier. You may want to read the [documentation of the latest release](https://github.com/coursier/coursier/blob/v1.1.0-M4/README.md#api-1) of coursier instead.
|
||||
|
||||
The first module, `"io.get-coursier" %% "coursier" % "1.0.1"`, mainly depends on
|
||||
The first module, `"io.get-coursier" %% "coursier" % "1.0.3"`, mainly depends on
|
||||
`scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others,
|
||||
definitions,
|
||||
mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
|
||||
|
|
@ -456,7 +456,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,
|
||||
including the transitive ones.
|
||||
|
||||
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.1"`, is precisely in charge of fetching
|
||||
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.3"`, 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.).
|
||||
It caches all of these (metadata and artifacts) on disk, and validates checksums too.
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
|
|||
|
||||
Enable the SBT plugin by adding
|
||||
```scala
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.1")
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3")
|
||||
```
|
||||
to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file
|
||||
of an SBT project. Tested with SBT 0.13.8 / 0.13.9 / 0.13.11 / 0.13.12 / 0.13.13 / 0.13.15 / 0.13.16-M1 / 1.0.1-M5.
|
||||
|
|
@ -129,8 +129,8 @@ echo 'autoload -Uz compinit ; compinit' >> ~/.zshrc
|
|||
Add to your `build.sbt`
|
||||
```scala
|
||||
libraryDependencies ++= Seq(
|
||||
"io.get-coursier" %% "coursier" % "1.0.1",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.1"
|
||||
"io.get-coursier" %% "coursier" % "1.0.3",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.3"
|
||||
)
|
||||
```
|
||||
|
||||
|
|
@ -265,7 +265,7 @@ of the cache used by a particular project, in case you have any doubt about what
|
|||
|
||||
Enable the SBT plugin globally by adding
|
||||
```scala
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.1")
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3")
|
||||
```
|
||||
to `~/.sbt/0.13/plugins/build.sbt`
|
||||
|
||||
|
|
@ -442,7 +442,7 @@ The `bootstrap` command generates tiny bootstrap launchers, able to pull their d
|
|||
repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like
|
||||
```
|
||||
$ ./coursier bootstrap \
|
||||
io.get-coursier:coursier-cli_2.11:1.0.1 \
|
||||
io.get-coursier:coursier-cli_2.11:1.0.3 \
|
||||
-f -o coursier
|
||||
```
|
||||
|
||||
|
|
@ -454,7 +454,7 @@ The `bootstrap` command can also generate [scala-native](http://scala-native.org
|
|||
```
|
||||
$ ./coursier bootstrap \
|
||||
--native \
|
||||
io.get-coursier:echo_native0.3_2.11:1.0.1 \
|
||||
io.get-coursier:echo_native0.3_2.11:1.0.3 \
|
||||
-o echo-native
|
||||
[info] Linking (2354 ms)
|
||||
[info] Discovered 1291 classes and 9538 methods
|
||||
|
|
@ -468,14 +468,14 @@ hey
|
|||
Add to your `build.sbt`
|
||||
```scala
|
||||
libraryDependencies ++= Seq(
|
||||
"io.get-coursier" %% "coursier" % "1.0.1",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.1"
|
||||
"io.get-coursier" %% "coursier" % "1.0.3",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.3"
|
||||
)
|
||||
```
|
||||
|
||||
Note that the examples below are validated against the current sources of coursier. You may want to read the [documentation of the latest release](https://github.com/coursier/coursier/blob/v1.1.0-M4/README.md#api-1) of coursier instead.
|
||||
|
||||
The first module, `"io.get-coursier" %% "coursier" % "1.0.1"`, mainly depends on
|
||||
The first module, `"io.get-coursier" %% "coursier" % "1.0.3"`, mainly depends on
|
||||
`scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others,
|
||||
definitions,
|
||||
mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
|
||||
|
|
@ -485,7 +485,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,
|
||||
including the transitive ones.
|
||||
|
||||
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.1"`, is precisely in charge of fetching
|
||||
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.3"`, 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.).
|
||||
It caches all of these (metadata and artifacts) on disk, and validates checksums too.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue