diff options
| author | edwardcwang | 2019-05-21 19:52:13 -0700 |
|---|---|---|
| committer | GitHub | 2019-05-21 19:52:13 -0700 |
| commit | 820e2688f0cb966d4528ff074fdbdc623ed8f940 (patch) | |
| tree | 8932da1c71e0d7948c73041ff5bdefc1fed0a537 | |
| parent | dad4c2365c795c0963f538331d984efc09dcf49e (diff) | |
Include snapshots by default in mill (#1096)
* Include snapshots by default in mill.
* Move repositories definition so all modules may use it.
| -rw-r--r-- | build.sc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,6 @@ import ammonite.ops._ import ammonite.ops.ImplicitWd._ +import coursier.MavenRepository import mill._ import mill.scalalib._ import mill.scalalib.publish._ @@ -58,6 +59,11 @@ trait CommonChiselModule extends SbtModule { case ModuleDep(_) => Agg() } override def ivyDeps = T { chiselDeps } + + // Include sonatype snapshots by default for parity with sbt + def repositories = super.repositories ++ Seq( + MavenRepository("https://oss.sonatype.org/content/repositories/snapshots") + ) } trait PublishChiselModule extends CommonChiselModule with PublishModule { |
