diff --git a/README.md b/README.md index 8372ef0e6..f7ffff1b3 100644 --- a/README.md +++ b/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 ```scala -addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M9") +addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10") ``` 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. @@ -99,8 +99,8 @@ Fetching artifacts Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "com.github.alexarchambault" %% "coursier" % "1.0.0-M9", - "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9" + "com.github.alexarchambault" %% "coursier" % "1.0.0-M10", + "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10" ) ``` @@ -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 ```scala -addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M9") +addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10") ``` 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 ``` $ ./coursier bootstrap \ - com.github.alexarchambault:coursier-cli_2.11:1.0.0-M9 \ + com.github.alexarchambault:coursier-cli_2.11:1.0.0-M10 \ -b -f -o 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` ```scala libraryDependencies ++= Seq( - "com.github.alexarchambault" %% "coursier" % "1.0.0-M9", - "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9" + "com.github.alexarchambault" %% "coursier" % "1.0.0-M10", + "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10" ) ``` -The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M9"`, mainly depends on +The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M10"`, 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/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, including the transitive ones. -The second module, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9"`, is precisely in charge of fetching +The second module, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10"`, 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. diff --git a/coursier b/coursier index 6f6f3b88a..1da6ad585 100755 Binary files a/coursier and b/coursier differ diff --git a/doc/README.md b/doc/README.md index 481682c52..a3d1e395f 100644 --- a/doc/README.md +++ b/doc/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 ```scala -addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M9") +addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10") ``` 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. @@ -99,8 +99,8 @@ Fetching artifacts Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "com.github.alexarchambault" %% "coursier" % "1.0.0-M9", - "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9" + "com.github.alexarchambault" %% "coursier" % "1.0.0-M10", + "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10" ) ``` @@ -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 ```scala -addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M9") +addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10") ``` 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 ``` $ ./coursier bootstrap \ - com.github.alexarchambault:coursier-cli_2.11:1.0.0-M9 \ + com.github.alexarchambault:coursier-cli_2.11:1.0.0-M10 \ -b -f -o 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` ```scala libraryDependencies ++= Seq( - "com.github.alexarchambault" %% "coursier" % "1.0.0-M9", - "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9" + "com.github.alexarchambault" %% "coursier" % "1.0.0-M10", + "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10" ) ``` -The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M9"`, mainly depends on +The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M10"`, 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/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, including the transitive ones. -The second module, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M9"`, is precisely in charge of fetching +The second module, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10"`, 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. diff --git a/project/generate-launcher.sh b/project/generate-launcher.sh index 3c3ea727a..33d74e004 100755 --- a/project/generate-launcher.sh +++ b/project/generate-launcher.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.0.0-M9 +VERSION=1.0.0-M10 CACHE_VERSION=v1 SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier"