diff options
author | Samvel Abrahamyan <samvel1024@gmail.com> | 2019-09-08 22:13:11 +0200 |
---|---|---|
committer | Samvel Abrahamyan <samvel1024@gmail.com> | 2019-10-12 14:33:17 +0200 |
commit | fc9b6e8b573fb2ad61801d0f335a05f07e3a2d83 (patch) | |
tree | 77d4441b271b315335131343c0b0883c767ea293 /main/api/src/mill/api/Ctx.scala | |
parent | 91cddda19106c468fbc0422b6aefc62618a4e128 (diff) | |
download | mill-fc9b6e8b573fb2ad61801d0f335a05f07e3a2d83.tar.gz mill-fc9b6e8b573fb2ad61801d0f335a05f07e3a2d83.tar.bz2 mill-fc9b6e8b573fb2ad61801d0f335a05f07e3a2d83.zip |
Remove the dependency to bsp and zinc from core modules
Diffstat (limited to 'main/api/src/mill/api/Ctx.scala')
-rw-r--r-- | main/api/src/mill/api/Ctx.scala | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/main/api/src/mill/api/Ctx.scala b/main/api/src/mill/api/Ctx.scala index 02d50b22..96da84eb 100644 --- a/main/api/src/mill/api/Ctx.scala +++ b/main/api/src/mill/api/Ctx.scala @@ -3,7 +3,6 @@ package mill.api import scala.annotation.{StaticAnnotation, compileTimeOnly} import scala.language.implicitConversions import os.Path -import sbt.internal.inc.ManagedLoggedReporter /** * Provides access to various resources in the context of a currently execution Target. @@ -56,13 +55,13 @@ object Ctx { class Ctx( - val args: IndexedSeq[_], - dest0: () => os.Path, - val log: Logger, - val home: os.Path, - val env: Map[String, String], - val reporter: Int => Option[ManagedLoggedReporter], - val bsp: BspContext + val args: IndexedSeq[_], + dest0: () => os.Path, + val log: Logger, + val home: os.Path, + val env: Map[String, String], + val reporter: Int => Option[BuildProblemReporter], + val testReporter: TestReporter ) extends Ctx.Dest with Ctx.Log |