Updates to 1.0.0-M10

This commit is contained in:
Alexandre Archambault 2016-03-16 20:09:02 +01:00
parent af5eb77dac
commit bf82e12daa
4 changed files with 19 additions and 19 deletions

View File

@ -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.

BIN
coursier

Binary file not shown.

View File

@ -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.

View File

@ -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"