Use latest version in README.md examples

This commit is contained in:
Ionuț G. Stan 2017-09-09 13:25:42 +03:00 committed by Alexandre Archambault
parent 46a4f7f53f
commit ce1ebc0124
2 changed files with 16 additions and 16 deletions

View File

@ -111,8 +111,8 @@ $ ./coursier fetch org.apache.spark:spark-sql_2.11:1.6.1 com.twitter:algebird-sp
Add to your `build.sbt` Add to your `build.sbt`
```scala ```scala
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"io.get-coursier" %% "coursier" % "1.0.0-RC10", "io.get-coursier" %% "coursier" % "1.0.0-RC11",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC10" "io.get-coursier" %% "coursier-cache" % "1.0.0-RC11"
) )
``` ```
@ -215,7 +215,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("io.get-coursier" % "sbt-coursier" % "1.0.0-RC10") addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC11")
``` ```
to `~/.sbt/0.13/plugins/build.sbt` to `~/.sbt/0.13/plugins/build.sbt`
@ -368,7 +368,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/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like 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 \ $ ./coursier bootstrap \
io.get-coursier:coursier-cli_2.11:1.0.0-RC10 \ io.get-coursier:coursier-cli_2.11:1.0.0-RC11 \
-b -f -o coursier \ -b -f -o coursier \
-M coursier.cli.Coursier -M coursier.cli.Coursier
``` ```
@ -380,12 +380,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(
"io.get-coursier" %% "coursier" % "1.0.0-RC10", "io.get-coursier" %% "coursier" % "1.0.0-RC11",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC10" "io.get-coursier" %% "coursier-cache" % "1.0.0-RC11"
) )
``` ```
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC10"`, mainly depends on The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC11"`, 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/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala), mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
@ -395,7 +395,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, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC10"`, is precisely in charge of fetching The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC11"`, 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.

View File

@ -111,8 +111,8 @@ $ ./coursier fetch org.apache.spark:spark-sql_2.11:1.6.1 com.twitter:algebird-sp
Add to your `build.sbt` Add to your `build.sbt`
```scala ```scala
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"io.get-coursier" %% "coursier" % "1.0.0-RC10", "io.get-coursier" %% "coursier" % "1.0.0-RC11",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC10" "io.get-coursier" %% "coursier-cache" % "1.0.0-RC11"
) )
``` ```
@ -242,7 +242,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("io.get-coursier" % "sbt-coursier" % "1.0.0-RC10") addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC11")
``` ```
to `~/.sbt/0.13/plugins/build.sbt` to `~/.sbt/0.13/plugins/build.sbt`
@ -397,7 +397,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/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like 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 \ $ ./coursier bootstrap \
io.get-coursier:coursier-cli_2.11:1.0.0-RC10 \ io.get-coursier:coursier-cli_2.11:1.0.0-RC11 \
-b -f -o coursier \ -b -f -o coursier \
-M coursier.cli.Coursier -M coursier.cli.Coursier
``` ```
@ -409,12 +409,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(
"io.get-coursier" %% "coursier" % "1.0.0-RC10", "io.get-coursier" %% "coursier" % "1.0.0-RC11",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC10" "io.get-coursier" %% "coursier-cache" % "1.0.0-RC11"
) )
``` ```
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC10"`, mainly depends on The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC11"`, 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/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala), mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
@ -424,7 +424,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, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC10"`, is precisely in charge of fetching The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC11"`, 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.