summaryrefslogtreecommitdiff
path: root/scalalib/src/ZincWorkerModule.scala
diff options
context:
space:
mode:
authorgehnaphore <geh@georgeandjulia.com>2018-12-19 23:41:31 -0800
committerTobias Roeser <le.petit.fou@web.de>2018-12-20 08:41:31 +0100
commit056cd88f77d09ad7237933a38d441862501d8739 (patch)
treef5d3a2ac74476d11472fffcd98f678c6b6a322b7 /scalalib/src/ZincWorkerModule.scala
parent2752dcffae3765c56dca98b11a6a32318530e961 (diff)
downloadmill-056cd88f77d09ad7237933a38d441862501d8739.tar.gz
mill-056cd88f77d09ad7237933a38d441862501d8739.tar.bz2
mill-056cd88f77d09ad7237933a38d441862501d8739.zip
Avoid unnecessary dependency downloading by providing fetches per cache policy (#494)
* Avoid unnecessary dependency downloading by providing fetches per cache policy; add ticker logging when they are downloading * Fix GenIdeaTests by making the Log context Option[]al * Add some comments * Rebase and resolve
Diffstat (limited to 'scalalib/src/ZincWorkerModule.scala')
-rw-r--r--scalalib/src/ZincWorkerModule.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/scalalib/src/ZincWorkerModule.scala b/scalalib/src/ZincWorkerModule.scala
index 97d84aaf..f0474760 100644
--- a/scalalib/src/ZincWorkerModule.scala
+++ b/scalalib/src/ZincWorkerModule.scala
@@ -102,7 +102,8 @@ trait ZincWorkerModule extends mill.Module{
resolveDependencies(
repositories,
Lib.depToDependency(_, "2.12.4", ""),
- Seq(ivy"org.scala-sbt:compiler-interface:${Versions.zinc}")
+ Seq(ivy"org.scala-sbt:compiler-interface:${Versions.zinc}"),
+ ctx = Some(implicitly[mill.util.Ctx.Log])
)
}