diff options
author | Alexandra Dima <alexandra.dima@jetbrains.com> | 2019-07-10 17:12:12 +0200 |
---|---|---|
committer | Samvel Abrahamyan <samvel1024@gmail.com> | 2019-10-12 14:32:58 +0200 |
commit | 0d53a6e057ae24ecf0bfd5bf0929310723c31282 (patch) | |
tree | 1503d4f04ff8c4bfb54f3ae841293ae20076eb8b /scratch/build.sc | |
parent | b71748b1b58da3b70ceb9290257ed688b71fbe21 (diff) | |
download | mill-0d53a6e057ae24ecf0bfd5bf0929310723c31282.tar.gz mill-0d53a6e057ae24ecf0bfd5bf0929310723c31282.tar.bz2 mill-0d53a6e057ae24ecf0bfd5bf0929310723c31282.zip |
Implemented support for publishing compilation diagnostics through the custom BspLoggedReporter reporter. Patched the mill.api.Ctx data structure as well as the evaluate() method on mill's Evaluator in order to accept a potential reporter from the outside, or use a default value if none is given.
Diffstat (limited to 'scratch/build.sc')
-rw-r--r-- | scratch/build.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scratch/build.sc b/scratch/build.sc index 817f68e4..c36b554f 100644 --- a/scratch/build.sc +++ b/scratch/build.sc @@ -1,9 +1,9 @@ import mill._, scalalib._ -import $ivy.`com.lihaoyi::mill-contrib-bsp:0.4.1-7-be21ae-DIRTY1fe41d7a` +//import $ivy.`com.lihaoyi::mill-contrib-bsp:0.4.1-7-be21ae-DIRTY1fe41d7a` object mill_exercise extends ScalaModule { def scalaVersion = "2.12.8" - + def mainClass = Some("mill_exercise.Compiler") def ivyDeps = Agg( ivy"org.scalameta::metals:0.5.2", ivy"org.scalameta::scalameta:4.1.9", |