Pure Scala Artifact Fetching
APACHE-2.0 License
Bot releases are hidden (Show)
sbt.
in sbt-shared
module, to ease using coursier from sbt itself (#775, thanks to @leonardehrenfried)DEVELOPMENT.md
(#777 thanks to @baroquebobcat, #776)coursier fetch org:name:ver,url=https%3A%2F%2F…%2Ffoo.jar
)core
and cache
modules don't depend on scalaz anymore (#781, #796, #807)sbt._
namespace from the sbt plugins, to ease the use of coursier from sbt itself (#766, #771, thanks to @leonardehrenfried)org:name:0.1,classifier=foo
(#735, thanks to @wisechengyi)--profile '!scala-2.11'
(#761)sbt._
namespace from the sbt plugins, to ease the use of coursier from sbt itself (#746, #763, #764, thanks to @leonardehrenfried)clean
command (thanks to @olivierdeckers, #690)[1.2.0]
, #702)coursier.ivy.home
and ivy.home
Java properties to locate the local Ivy2 repository (#705, thanks to @Mocuto)bundle
is fine with Maven snapshot versioning (#706)ExceptionInInitializerError
on FreeBSD (#707, via @soc's directories)plugins.sbt
or fail with a checksum error with some sbt plugins (sbt-assembly in particular, #712)sbt-shared
(#712)java.lang.IncompatibleClassChangeError
exception with Java 9 (#678)~/.coursier
already exists on your machine, it will be peaked by coursier instead of the OS-specific directory. If it doesn't, the OS-specific directory will be created and used (#676, thanks to @soc)Simply a convenience release, aiming at having the actual next release (1.0.0-RC13
) be fine with Java 9. See the release notes for 1.0.0-RC13
for the actual list of changes.
The particularity of 1.0.0-RC12-1
is that its sbt-shading plugin generates code that is fine with Java 9, but it itself doesn't run fine in Java 9. On the other hand, 1.0.0-RC13
is fine in both cases (generates code fine with Java 9, and can itself run with Java 9).
Def.taskDyn
(#651)coursierKeepPreloaded
setting to true
to re-enabled, #651)project/project/plugins.sbt
(add a addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC12")
in project/project/plugins.sbt
, then just a addSbtCoursier
in project/plugins.sbt
- #651)MatchError
when using cross version patch with sbt 1.0 (#658)~/.sbt/0.13/plugins/plugins.sbt
, along with sbt-coursier, when starting sbt, #635)aar
packaging, #620)updateSbtClassifiers
in sbt-coursier (regressed during RCs, #620)-r jitpack
to add the jitpack repository, #620)publishSigned
when sbt-coursier is enabled (regressed in RC8, #627)"test-jar"
to the classpathTypes
setting to add test artifacts to the classpath (#612)Fix regressions that increased the number of iterations during resolution (and were possibly slowing resolutions, #599)
Make Maven property handling more robust (#599)
Allow to generate native launchers, e.g.
$ coursier bootstrap -S -o native-test io.get-coursier.scala-native::sandbox_native0.3:0.3.0-coursier-1
generates a scala-native-based launcher (native-test
) for... a hello world (#598).
updateSbtClassifiers
(regression in 1.0.0-RC4
, #585)coursier resolve
output (#587)buildSettings
in sbt-coursier (#588)[1.0,2.0),[3.0,4.0)
, #581)1.0.0-M6
(replaces support for 1.0.0-M5
, #560)1.2.3-+
(thanks to @avdv, #556)sbt-pgp-coursier
plugin, to download sbt-pgp
checksums via coursier (#571)0.6.17
(#565)1.0.0-RC1
, fixed in #554)sbt-coursier
(allows neo-sbt-scalafmt
0.2
to be fine with sbt-coursier
, #554, and extra non regression test in #572 by @dotta)SSLException
is caught (#507)0.6.16
(#522)1.0.0-M5
(#525)Allows to launch applications from their Scaladex name via the coursier launch
command (#385, thanks to @MasseGuillaume too)
Example:
$ coursier launch lihaoyi/ammonite
$ coursier launch olafurpg/scalafmt
Added in #426
Allows to shade dependencies like
lazy val myProj = project
.enablePlugins(coursier.ShadingPlugin)
.settings(
shadingNamespace := "myproj.shaded",
libraryDependencies += "com" %% "foo" % "0.2.3" % "shaded"
)
sbt myProj/shading:publish
then publishes myProj
with com.foo
shaded under the myproj.shaded
namespace.
Added in #439, available at csbt
Try it from the coursier sources with
$ ./csbt
Allows to add plugins from project/build.properties
(optionally renamed to sbt.properties
at the root of the project), like
sbt.version=0.13.13
plugins = [
"org.xerial.sbt:sbt-pack:0.8.2"
...
]
Example
$ coursier launch -r bintray-ivy:org/repo-name ...
sbt console
, missing JARs for dependencies having packaging POM in their POM file.Unrecognized repository inter-project
when running sbt updateSbtClassifiers
(#439)coursierUseSbtCredentials
key to set to true
)MavenRepository
be fine with sbt plugins by default (#477, no more flag to manually set to true)coursier spark-submit
command (#478, #484, #486)1.0.0-RC1
.