From 384f7ecc476f7acd9b41fdc46ee75ad08a1c00e4 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Thu, 14 Dec 2017 12:50:01 +0000 Subject: [PATCH] Updates for 1.0.0 --- README.md | 18 +++++++++--------- coursier | Bin 23375 -> 23361 bytes csbt | Bin 24256 -> 24241 bytes doc/README.md | 18 +++++++++--------- project/Mima.scala | 1 + project/project/project/plugins.sbt | 2 +- scripts/generate-launcher.sh | 2 +- scripts/generate-sbt-launcher.sh | 2 +- 8 files changed, 22 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 694f128f3..a4058fc0e 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-RC14") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0") ``` 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-RC14", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC14" + "io.get-coursier" %% "coursier" % "1.0.0", + "io.get-coursier" %% "coursier-cache" % "1.0.0" ) ``` @@ -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-RC14") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0") ``` 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 ``` $ ./coursier bootstrap \ - io.get-coursier:coursier-cli_2.11:1.0.0-RC14 \ + io.get-coursier:coursier-cli_2.11:1.0.0 \ -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-RC14", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC14" + "io.get-coursier" %% "coursier" % "1.0.0", + "io.get-coursier" %% "coursier-cache" % "1.0.0" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC14"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0"`, 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-RC14"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0"`, 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 0e5427af347839384366d1649e91a4251bf84cea..0c86791a53c83d0ddad216f98cde97fd692ad812 100755 GIT binary patch delta 1252 zcmX@Vjq%_%#tDwRRw;enD4^WKZ-{tl!AjY{27EuJTXOe!`Mi<88u0kzTiL zS(v9O^a*|b-^v&mxTMVX{$A_p*OIwApK>QTeR7*~Rr7q8A&)^*`svLY@+X)j0)-17 zWgMRV(0K2Y)eL;mC9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ff --git a/doc/README.md b/doc/README.md index 859d28dd1..e9a64581a 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-RC14") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0") ``` 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-RC14", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC14" + "io.get-coursier" %% "coursier" % "1.0.0", + "io.get-coursier" %% "coursier-cache" % "1.0.0" ) ``` @@ -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-RC14") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0") ``` 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 ``` $ ./coursier bootstrap \ - io.get-coursier:coursier-cli_2.11:1.0.0-RC14 \ + io.get-coursier:coursier-cli_2.11:1.0.0 \ -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-RC14", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC14" + "io.get-coursier" %% "coursier" % "1.0.0", + "io.get-coursier" %% "coursier-cache" % "1.0.0" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC14"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0"`, 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-RC14"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0"`, 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 1c74e0e61..025f9028b 100644 --- a/project/Mima.scala +++ b/project/Mima.scala @@ -25,6 +25,7 @@ object Mima { "1.0.0-RC12-1", "1.0.0-RC13", "1.0.0-RC14", + "1.0.0", "" // binary compatibility versions ) diff --git a/project/project/project/plugins.sbt b/project/project/project/plugins.sbt index 3b5ed8256..30da87aeb 100644 --- a/project/project/project/plugins.sbt +++ b/project/project/project/plugins.sbt @@ -1,7 +1,7 @@ addSbtPlugin("io.get-coursier" % "sbt-coursier" % coursierVersion0) // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion0 = "1.0.0-RC14" +def coursierVersion0 = "1.0.0" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/scripts/generate-launcher.sh b/scripts/generate-launcher.sh index 384e9dfc4..63ceefaa5 100755 --- a/scripts/generate-launcher.sh +++ b/scripts/generate-launcher.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.0.0-RC14 +VERSION=1.0.0 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 a8558551a..07fdfaa95 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-RC14 +VERSION=1.0.0 "$(dirname "$0")/../coursier" bootstrap \ "io.get-coursier:sbt-launcher_2.11:$VERSION" \