diff --git a/README.md b/README.md index 88721beaa..e83428c75 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,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.0-RC6") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC7") ``` 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.0-M5. @@ -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` ```scala libraryDependencies ++= Seq( - "io.get-coursier" %% "coursier" % "1.0.0-RC6", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC6" + "io.get-coursier" %% "coursier" % "1.0.0-RC7", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC7" ) ``` @@ -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 ```scala -addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC6") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC7") ``` 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/project/generate-launcher.sh) with a command like ``` $ ./coursier bootstrap \ - io.get-coursier:coursier-cli_2.11:1.0.0-RC6 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC7 \ -b -f -o 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` ```scala libraryDependencies ++= Seq( - "io.get-coursier" %% "coursier" % "1.0.0-RC6", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC6" + "io.get-coursier" %% "coursier" % "1.0.0-RC7", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC7" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC6"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC7"`, 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), @@ -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, including the transitive ones. -The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC6"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC7"`, 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 cae085eb7..19fe16c49 100755 Binary files a/coursier and b/coursier differ diff --git a/csbt b/csbt index c540e9f7f..2d02ec729 100755 Binary files a/csbt and b/csbt differ diff --git a/doc/README.md b/doc/README.md index 4c4387cbd..ce72bb5d3 100644 --- a/doc/README.md +++ b/doc/README.md @@ -73,7 +73,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.0-RC6") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC7") ``` 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.0-M5. @@ -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` ```scala libraryDependencies ++= Seq( - "io.get-coursier" %% "coursier" % "1.0.0-RC6", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC6" + "io.get-coursier" %% "coursier" % "1.0.0-RC7", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC7" ) ``` @@ -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 ```scala -addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC6") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC7") ``` 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/project/generate-launcher.sh) with a command like ``` $ ./coursier bootstrap \ - io.get-coursier:coursier-cli_2.11:1.0.0-RC6 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC7 \ -b -f -o 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` ```scala libraryDependencies ++= Seq( - "io.get-coursier" %% "coursier" % "1.0.0-RC6", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC6" + "io.get-coursier" %% "coursier" % "1.0.0-RC7", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC7" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC6"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC7"`, 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), @@ -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, including the transitive ones. -The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC6"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC7"`, 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/Mima.scala b/project/Mima.scala index 769a14895..92f82528b 100644 --- a/project/Mima.scala +++ b/project/Mima.scala @@ -16,6 +16,7 @@ object Mima { "1.0.0-RC4", "1.0.0-RC5", "1.0.0-RC6", + "1.0.0-RC7", "" // binary compatibility versions ) diff --git a/project/plugins.sbt b/project/plugins.sbt index 69371a7f5..62f8d1db8 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -21,7 +21,7 @@ libs ++= Seq( ) // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion = "1.0.0-RC6" +def coursierVersion = "1.0.0-RC7" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/project/project/plugins.sbt b/project/project/plugins.sbt index 07f9f3b7d..c65a4fc2e 100644 --- a/project/project/plugins.sbt +++ b/project/project/plugins.sbt @@ -2,7 +2,7 @@ addSbtPlugin("io.get-coursier" % "sbt-coursier" % coursierVersion) addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.0") // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion = "1.0.0-RC6" +def coursierVersion = "1.0.0-RC7" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/project/project/project/plugins.sbt b/project/project/project/plugins.sbt index 810314cf3..78f6de307 100644 --- a/project/project/project/plugins.sbt +++ b/project/project/project/plugins.sbt @@ -1,7 +1,7 @@ addSbtPlugin("io.get-coursier" % "sbt-coursier" % coursierVersion) // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion = "1.0.0-RC6" +def coursierVersion = "1.0.0-RC7" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/scripts/generate-launcher.sh b/scripts/generate-launcher.sh index f94942b07..d290f3eea 100755 --- a/scripts/generate-launcher.sh +++ b/scripts/generate-launcher.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.0.0-RC6 +VERSION=1.0.0-RC7 CACHE_VERSION=v1 SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier" diff --git a/scripts/generate-sbt-launcher.sh b/scripts/generate-sbt-launcher.sh index 3504c94b6..c051af38c 100755 --- a/scripts/generate-sbt-launcher.sh +++ b/scripts/generate-sbt-launcher.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e -VERSION=1.0.0-RC6 +VERSION=1.0.0-RC7 "$(dirname "$0")/../coursier" bootstrap \ "io.get-coursier:sbt-launcher_2.11:$VERSION" \