Updates for 1.0.0-M11

This commit is contained in:
Alexandre Archambault 2016-04-19 21:09:16 +02:00
parent 5b2f74c4eb
commit ed631ca8b2
No known key found for this signature in database
GPG Key ID: 14640A6839C263A9
5 changed files with 27 additions and 27 deletions

View File

@ -7,8 +7,8 @@ A Scala library to fetch dependencies from Maven / Ivy repositories
[![Build Status](https://travis-ci.org/alexarchambault/coursier.svg?branch=master)](https://travis-ci.org/alexarchambault/coursier)
[![Build status (Windows)](https://ci.appveyor.com/api/projects/status/trtum5b7washfbj9?svg=true)](https://ci.appveyor.com/project/alexarchambault/coursier)
[![Join the chat at https://gitter.im/alexarchambault/coursier](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/alexarchambault/coursier?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.alexarchambault/coursier_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.alexarchambault/coursier_2.11)
[![ScalaDoc](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11.svg?label=scaladoc)](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11)
[![Maven Central](https://img.shields.io/maven-central/v/io.get-coursier/coursier_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/io.get-coursier/coursier_2.11)
[![ScalaDoc](http://javadoc-badge.appspot.com/io.get-coursier/coursier_2.11.svg?label=scaladoc)](http://javadoc-badge.appspot.com/io.get-coursier/coursier_2.11)
![Demo (courtesy of @paulp)](http://i.imgur.com/lCJ9oql.gif)
@ -68,7 +68,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-M10")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11")
```
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.
@ -110,8 +110,8 @@ Fetching artifacts
Add to your `build.sbt`
```scala
libraryDependencies ++= Seq(
"com.github.alexarchambault" %% "coursier" % "1.0.0-M10",
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10"
"io.get-coursier" %% "coursier" % "1.0.0-M11",
"io.get-coursier" %% "coursier-cache" % "1.0.0-M11"
)
```
@ -214,7 +214,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-M10")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11")
```
to `~/.sbt/0.13/plugins/build.sbt`
@ -355,7 +355,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-M10 \
io.get-coursier:coursier-cli_2.11:1.0.0-M11 \
-b -f -o coursier \
-M coursier.cli.Coursier
```
@ -367,12 +367,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-M10",
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10"
"io.get-coursier" %% "coursier" % "1.0.0-M11",
"io.get-coursier" %% "coursier-cache" % "1.0.0-M11"
)
```
The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M10"`, mainly depends on
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-M11"`, 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),
@ -382,7 +382,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-M10"`, is precisely in charge of fetching
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-M11"`, 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

@ -7,8 +7,8 @@ A Scala library to fetch dependencies from Maven / Ivy repositories
[![Build Status](https://travis-ci.org/alexarchambault/coursier.svg?branch=master)](https://travis-ci.org/alexarchambault/coursier)
[![Build status (Windows)](https://ci.appveyor.com/api/projects/status/trtum5b7washfbj9?svg=true)](https://ci.appveyor.com/project/alexarchambault/coursier)
[![Join the chat at https://gitter.im/alexarchambault/coursier](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/alexarchambault/coursier?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.alexarchambault/coursier_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.alexarchambault/coursier_2.11)
[![ScalaDoc](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11.svg?label=scaladoc)](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11)
[![Maven Central](https://img.shields.io/maven-central/v/io.get-coursier/coursier_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/io.get-coursier/coursier_2.11)
[![ScalaDoc](http://javadoc-badge.appspot.com/io.get-coursier/coursier_2.11.svg?label=scaladoc)](http://javadoc-badge.appspot.com/io.get-coursier/coursier_2.11)
![Demo (courtesy of @paulp)](http://i.imgur.com/lCJ9oql.gif)
@ -68,7 +68,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-M10")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11")
```
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.
@ -110,8 +110,8 @@ Fetching artifacts
Add to your `build.sbt`
```scala
libraryDependencies ++= Seq(
"com.github.alexarchambault" %% "coursier" % "1.0.0-M10",
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10"
"io.get-coursier" %% "coursier" % "1.0.0-M11",
"io.get-coursier" %% "coursier-cache" % "1.0.0-M11"
)
```
@ -236,7 +236,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-M10")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11")
```
to `~/.sbt/0.13/plugins/build.sbt`
@ -379,7 +379,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-M10 \
io.get-coursier:coursier-cli_2.11:1.0.0-M11 \
-b -f -o coursier \
-M coursier.cli.Coursier
```
@ -391,12 +391,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-M10",
"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10"
"io.get-coursier" %% "coursier" % "1.0.0-M11",
"io.get-coursier" %% "coursier-cache" % "1.0.0-M11"
)
```
The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M10"`, mainly depends on
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-M11"`, 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),
@ -406,7 +406,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-M10"`, is precisely in charge of fetching
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-M11"`, 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-M10
VERSION=1.0.0-M11
CACHE_VERSION=v1
SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier"
@ -10,15 +10,15 @@ if [ ! -f "$SBTPACK_LAUNCHER" ]; then
fi
"$SBTPACK_LAUNCHER" bootstrap \
com.github.alexarchambault:coursier-cli_2.11:$VERSION \
io.get-coursier:coursier-cli_2.11:$VERSION \
--classifier standalone \
--intransitive \
-J "-noverify" \
--no-default \
-r central \
-r sonatype:releases \
-D "\${user.home}/.coursier/bootstrap/$VERSION" \
-d "\${user.home}/.coursier/bootstrap/$VERSION" \
-f -o coursier \
-M coursier.cli.Coursier \
-P coursier.cache="\${user.home}/.coursier/cache/$CACHE_VERSION" \
-D coursier.cache="\${user.home}/.coursier/cache/$CACHE_VERSION" \
"$@"

View File

@ -3,7 +3,7 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.8")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.1.0")
addSbtPlugin("org.tpolecat" % "tut-plugin" % "0.4.0")
addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11")
addSbtPlugin("com.typesafe.sbt" % "sbt-proguard" % "0.2.2")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.8")
libraryDependencies += "org.scala-sbt" % "scripted-plugin" % sbtVersion.value