Releases: coursier/sbt-coursier
Releases · coursier/sbt-coursier
v2.0.0-RC6-2
Expose more parameters in CoursierConfiguration
One can now adjust the TTL, the verbosity level, the checksums, and the cache policies via CoursierConfiguration
, accessible via csrConfiguration
in sbt. Once sbt switches to this lm-coursier version, use like
import scala.concurrent.duration.DurationInt
import lmcoursier.definitions.CachePolicy
csrConfiguration := csrConfiguration.value
.withTtl(1.minute)
.withVerbosityLevel(-1) // -1: quiet
.withCachePolicies(Seq(CachePolicy.LocalOnly)) // see the other CachePolicy instances too
Added in #205, thanks to @cchepelov
Updates
- Switch to coursier
2.0.0-RC6-10
v2.0.0-RC6-1
Deterministic artifact order
Artifacts are now ordered in "classpath order", rather than the former undefined / non-deterministic ordering. Now if you depend on a
, and a
depends on b
, a.jar
will appear before b.jar
.
Disable with csrConfiguration ~= (_.withClasspathOrder(false))
.
Updates
- Switch to sbt
1.3.8
v2.0.0-RC6
- Switch to sbt
1.3.7
- Switch to coursier
2.0.0-RC6
v2.0.0-RC5-3
- Enable classpath ordering by default (#174, thanks to @dwijnand)
- Switch to coursier
2.0.0-RC5-6
(from2.0.0-RC5-2
- fixes coursier/coursier#1438, coursier/coursier#1455)
v2.0.0-RC5-2
.
v2.0.0-RC5-1
.
v2.0.0-RC4-1
.
v2.0.0-RC4
.
v2.0.0-RC3-6
.
v2.0.0-RC3-5
.