Skip to content

Commit

Permalink
Updates for 1.0.0-RC3
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed May 12, 2017
1 parent 1086068 commit 67b3b06
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-RC2")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC3")
```
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.
Expand Down Expand Up @@ -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-RC2",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC2"
"io.get-coursier" %% "coursier" % "1.0.0-RC3",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC3"
)
```

Expand Down Expand Up @@ -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-RC2")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC3")
```
to `~/.sbt/0.13/plugins/build.sbt`

Expand Down Expand Up @@ -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-RC2 \
io.get-coursier:coursier-cli_2.11:1.0.0-RC3 \
-b -f -o coursier \
-M coursier.cli.Coursier
```
Expand All @@ -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-RC2",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC2"
"io.get-coursier" %% "coursier" % "1.0.0-RC3",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC3"
)
```

The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC2"`, mainly depends on
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC3"`, 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),
Expand All @@ -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-RC2"`, is precisely in charge of fetching
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC3"`, 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.

Expand Down
Binary file modified coursier
Binary file not shown.
Binary file modified csbt
Binary file not shown.
18 changes: 9 additions & 9 deletions doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-RC2")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC3")
```
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.
Expand Down Expand Up @@ -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-RC2",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC2"
"io.get-coursier" %% "coursier" % "1.0.0-RC3",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC3"
)
```

Expand Down Expand Up @@ -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-RC2")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC3")
```
to `~/.sbt/0.13/plugins/build.sbt`

Expand Down Expand Up @@ -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-RC2 \
io.get-coursier:coursier-cli_2.11:1.0.0-RC3 \
-b -f -o coursier \
-M coursier.cli.Coursier
```
Expand All @@ -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-RC2",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC2"
"io.get-coursier" %% "coursier" % "1.0.0-RC3",
"io.get-coursier" %% "coursier-cache" % "1.0.0-RC3"
)
```

The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC2"`, mainly depends on
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC3"`, 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),
Expand All @@ -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-RC2"`, is precisely in charge of fetching
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC3"`, 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.

Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ libs ++= Seq(
)

// important: this line is matched / substituted during releases (via sbt-release)
def coursierVersion = "1.0.0-RC2"
def coursierVersion = "1.0.0-RC3"

// required for just released things
resolvers += Resolver.sonatypeRepo("releases")
Expand Down
2 changes: 1 addition & 1 deletion project/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -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-RC2"
def coursierVersion = "1.0.0-RC3"

// required for just released things
resolvers += Resolver.sonatypeRepo("releases")
2 changes: 1 addition & 1 deletion scripts/generate-launcher.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION=1.0.0-RC2
VERSION=1.0.0-RC3
CACHE_VERSION=v1

SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier"
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-sbt-launcher.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e

VERSION=1.0.0-RC2
VERSION=1.0.0-RC3

"$(dirname "$0")/../coursier" bootstrap \
"io.get-coursier:sbt-launcher_2.12:$VERSION" \
Expand Down

0 comments on commit 67b3b06

Please sign in to comment.