mirror of https://github.com/sbt/sbt.git
Updates for 1.0.0-M15
This commit is contained in:
parent
5b2237a194
commit
ea5169cc0a
22
README.md
22
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-M14")
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M15")
|
||||
```
|
||||
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 / 0.13.11 / 0.13.12.
|
||||
|
|
@ -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-M14",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.0-M14"
|
||||
"io.get-coursier" %% "coursier" % "1.0.0-M15",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.0-M15"
|
||||
)
|
||||
```
|
||||
|
||||
|
|
@ -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-M14")
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M15")
|
||||
```
|
||||
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/alexarchambault/coursier/blob/master/project/generate-launcher.sh) with a command like
|
||||
```
|
||||
$ ./coursier bootstrap \
|
||||
io.get-coursier:coursier-cli_2.11:1.0.0-M14 \
|
||||
io.get-coursier:coursier-cli_2.11:1.0.0-M15 \
|
||||
-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-M14",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.0-M14"
|
||||
"io.get-coursier" %% "coursier" % "1.0.0-M15",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.0-M15"
|
||||
)
|
||||
```
|
||||
|
||||
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-M14"`, mainly depends on
|
||||
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-M15"`, 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),
|
||||
|
|
@ -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-M14"`, is precisely in charge of fetching
|
||||
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-M15"`, 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.
|
||||
|
||||
|
|
@ -750,10 +750,13 @@ Once RCs will be considered stable enough, `1.0.0` should be released.
|
|||
|
||||
## Contributors
|
||||
|
||||
- Erem Boto ([@eboto](https://github.com/eboto))
|
||||
- Erik LaBianca ([@easel](https://github.com/easel))
|
||||
- Han Ju ([@darkjh](https://github.com/darkjh))
|
||||
- Jameel Al-Aziz ([@jalaziz](https://github.com/jalaziz))
|
||||
- joriscode ([@joriscode](https://github.com/joriscode))
|
||||
- Kazuyoshi Kato ([@kzys](https://github.com/kzys))
|
||||
- Lars Hupel ([@larsrh](https://github.com/larsrh))
|
||||
- Rodrigo Fernandes ([@rtfpessoa](https://github.com/rtfpessoa))
|
||||
- Roman Iakovlev ([@RomanIakovlev](https://github.com/RomanIakovlev))
|
||||
- Simon Ochsenreither ([@soc](https://github.com/soc))
|
||||
|
|
@ -771,7 +774,6 @@ and allows to add dependencies in its sessions with coursier (initial motivation
|
|||
for writing coursier),
|
||||
- [Apache Toree](https://github.com/apache/incubator-toree) - formerly known as [spark-kernel](https://github.com/ibm-et/spark-kernel), is now using coursier to
|
||||
add dependencies on-the-fly ([#4](https://github.com/apache/incubator-toree/pull/4)),
|
||||
- [Quill](https://github.com/getquill/quill) is using coursier for faster dependency resolution ([#591](https://github.com/getquill/quill/pull/591)),
|
||||
- Your project here :-)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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-M14")
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M15")
|
||||
```
|
||||
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 / 0.13.11 / 0.13.12.
|
||||
|
|
@ -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-M14",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.0-M14"
|
||||
"io.get-coursier" %% "coursier" % "1.0.0-M15",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.0-M15"
|
||||
)
|
||||
```
|
||||
|
||||
|
|
@ -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-M14")
|
||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M15")
|
||||
```
|
||||
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/alexarchambault/coursier/blob/master/project/generate-launcher.sh) with a command like
|
||||
```
|
||||
$ ./coursier bootstrap \
|
||||
io.get-coursier:coursier-cli_2.11:1.0.0-M14 \
|
||||
io.get-coursier:coursier-cli_2.11:1.0.0-M15 \
|
||||
-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-M14",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.0-M14"
|
||||
"io.get-coursier" %% "coursier" % "1.0.0-M15",
|
||||
"io.get-coursier" %% "coursier-cache" % "1.0.0-M15"
|
||||
)
|
||||
```
|
||||
|
||||
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-M14"`, mainly depends on
|
||||
The first module, `"io.get-coursier" %% "coursier" % "1.0.0-M15"`, 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),
|
||||
|
|
@ -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-M14"`, is precisely in charge of fetching
|
||||
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-M15"`, 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.
|
||||
|
||||
|
|
@ -784,10 +784,13 @@ Once RCs will be considered stable enough, `1.0.0` should be released.
|
|||
|
||||
## Contributors
|
||||
|
||||
- Erem Boto ([@eboto](https://github.com/eboto))
|
||||
- Erik LaBianca ([@easel](https://github.com/easel))
|
||||
- Han Ju ([@darkjh](https://github.com/darkjh))
|
||||
- Jameel Al-Aziz ([@jalaziz](https://github.com/jalaziz))
|
||||
- joriscode ([@joriscode](https://github.com/joriscode))
|
||||
- Kazuyoshi Kato ([@kzys](https://github.com/kzys))
|
||||
- Lars Hupel ([@larsrh](https://github.com/larsrh))
|
||||
- Rodrigo Fernandes ([@rtfpessoa](https://github.com/rtfpessoa))
|
||||
- Roman Iakovlev ([@RomanIakovlev](https://github.com/RomanIakovlev))
|
||||
- Simon Ochsenreither ([@soc](https://github.com/soc))
|
||||
|
|
|
|||
|
|
@ -0,0 +1,41 @@
|
|||
### Changes
|
||||
|
||||
* Add experimental `coursier spark-submit` command ([#335], [#346], [#350], [#377], [#396], with contributions from [@darkjh])
|
||||
* Accept spaces in version intervals ([#354], thanks to [@eboto])
|
||||
* Better profile activation handling ([#360], thanks to [@eboto])
|
||||
* Switch to case-app 1.1.2 ([#365])
|
||||
* Use system classloader as base classloader when launching apps ([#366])
|
||||
* Add support for scala 2.12 ([#368], [#374], with contributions from [@larsrh])
|
||||
* Take into account `sbt.log.noformat` property ([#373])
|
||||
* Ignore fallback dependencies in SBT plugin if the corresponding URL cannot be found ("`from "url"`", [#373])
|
||||
* Handle cycles when printing trees ([#376], thanks to [@kzys])
|
||||
* Handle OS / JDK conditions in profile activation ([#381])
|
||||
* Limit messages in SBT plugin (nothing should be printed if nothing is downloaded, [#381], [#393])
|
||||
* Add option to swap Scala mainline JARs with Typelevel ones ([#392])
|
||||
* Java 6 compatibility ([#401])
|
||||
|
||||
[#335]: https://github.com/alexarchambault/coursier/pull/335
|
||||
[#346]: https://github.com/alexarchambault/coursier/pull/346
|
||||
[#350]: https://github.com/alexarchambault/coursier/pull/350
|
||||
[#354]: https://github.com/alexarchambault/coursier/pull/354
|
||||
[#360]: https://github.com/alexarchambault/coursier/pull/360
|
||||
[#365]: https://github.com/alexarchambault/coursier/pull/365
|
||||
[#366]: https://github.com/alexarchambault/coursier/pull/366
|
||||
[#368]: https://github.com/alexarchambault/coursier/pull/368
|
||||
[#373]: https://github.com/alexarchambault/coursier/pull/373
|
||||
[#374]: https://github.com/alexarchambault/coursier/pull/374
|
||||
[#376]: https://github.com/alexarchambault/coursier/pull/376
|
||||
[#377]: https://github.com/alexarchambault/coursier/pull/377
|
||||
[#381]: https://github.com/alexarchambault/coursier/pull/381
|
||||
[#392]: https://github.com/alexarchambault/coursier/pull/392
|
||||
[#393]: https://github.com/alexarchambault/coursier/pull/393
|
||||
[#396]: https://github.com/alexarchambault/coursier/pull/396
|
||||
[#401]: https://github.com/alexarchambault/coursier/pull/401
|
||||
[@darkjh]: https://github.com/darkjh
|
||||
[@eboto]: https://github.com/eboto
|
||||
[@kzys]: https://github.com/kzys
|
||||
[@larsrh]: https://github.com/larsrh
|
||||
|
||||
### Non-backward compatible changes
|
||||
|
||||
* A few things related to profile activation changed, both internally and in the user API, it is recommended to re-compile your code against `1.0.0-M15`.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.0.0-M14
|
||||
VERSION=1.0.0-M15
|
||||
CACHE_VERSION=v1
|
||||
|
||||
SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier"
|
||||
|
|
|
|||
Loading…
Reference in New Issue