From e98d21afc6b0757851007f2aabe87b59e9f3b542 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Sat, 6 May 2017 16:42:52 +0200 Subject: [PATCH] Updates for 1.0.0-RC2 --- README.md | 18 +++++++++--------- coursier | Bin 11811 -> 11814 bytes csbt | Bin 12765 -> 12718 bytes doc/README.md | 18 +++++++++--------- project/plugins.sbt | 2 +- project/project/plugins.sbt | 2 +- scripts/generate-launcher.sh | 2 +- scripts/generate-sbt-launcher.sh | 2 +- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index ccf3e89d9..48fed300b 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-RC1") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC2") ``` 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. @@ -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-RC1", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC1" + "io.get-coursier" %% "coursier" % "1.0.0-RC2", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC2" ) ``` @@ -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-RC1") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC2") ``` 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-RC1 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC2 \ -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-RC1", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC1" + "io.get-coursier" %% "coursier" % "1.0.0-RC2", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC2" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC1"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC2"`, 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-RC1"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC2"`, 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 6cada6f8bfeee885fead8a7cbfbeab130ad6b10f..2b015604ec06d9e2641c2cd18e783661e6e64a33 100755 GIT binary patch delta 890 zcmZ1+vn*zUBd15}GB4#l&v(t6=%rKdednO~2H&7vJfcAvCzhM1HBLRS?akAFimXaX z9-h{-Dt~V?;f*!%zHhbH+iSTfr+!i2oU#q>wO4BtxIDG5D)SaAubqFT zOF2aPcfjKV3yog57|x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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-RC1") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC2") ``` 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. @@ -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-RC1", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC1" + "io.get-coursier" %% "coursier" % "1.0.0-RC2", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC2" ) ``` @@ -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-RC1") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC2") ``` 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-RC1 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC2 \ -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-RC1", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC1" + "io.get-coursier" %% "coursier" % "1.0.0-RC2", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC2" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC1"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC2"`, 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-RC1"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC2"`, 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/plugins.sbt b/project/plugins.sbt index 0d3e4914a..4977ff883 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -20,7 +20,7 @@ libs ++= Seq( ) // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion = "1.0.0-RC1" +def coursierVersion = "1.0.0-RC2" def plugins_(modules: ModuleID*) = modules.map(addSbtPlugin) diff --git a/project/project/plugins.sbt b/project/project/plugins.sbt index f9b32135b..3de7dd510 100644 --- a/project/project/plugins.sbt +++ b/project/project/plugins.sbt @@ -1,4 +1,4 @@ addSbtPlugin("io.get-coursier" % "sbt-coursier" % coursierVersion) // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion = "1.0.0-RC1" +def coursierVersion = "1.0.0-RC2" diff --git a/scripts/generate-launcher.sh b/scripts/generate-launcher.sh index b5a58d15f..bf8fa3d29 100755 --- a/scripts/generate-launcher.sh +++ b/scripts/generate-launcher.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.0.0-RC1 +VERSION=1.0.0-RC2 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 364980aa5..948199ff3 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-M15-2 +VERSION=1.0.0-RC2 "$(dirname "$0")/../coursier" bootstrap \ "io.get-coursier:sbt-launcher_2.12:$VERSION" \