diff options
Diffstat (limited to 'scalalib')
-rw-r--r-- | scalalib/src/mill/scalalib/GenIdea.scala | 2 | ||||
-rw-r--r-- | scalalib/src/mill/scalalib/PublishModule.scala | 2 | ||||
-rw-r--r-- | scalalib/src/mill/scalalib/ScalaWorkerApi.scala | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/scalalib/src/mill/scalalib/GenIdea.scala b/scalalib/src/mill/scalalib/GenIdea.scala index 6cedf606..6304fb14 100644 --- a/scalalib/src/mill/scalalib/GenIdea.scala +++ b/scalalib/src/mill/scalalib/GenIdea.scala @@ -23,7 +23,7 @@ object GenIdeaModule extends ExternalModule { } implicit def millScoptEvaluatorReads[T] = new mill.main.EvaluatorScopt[T]() - def millDiscover = Discover[this.type] + lazy val millDiscover = Discover[this.type] } object GenIdea { diff --git a/scalalib/src/mill/scalalib/PublishModule.scala b/scalalib/src/mill/scalalib/PublishModule.scala index 87c8ee32..3cc9fd30 100644 --- a/scalalib/src/mill/scalalib/PublishModule.scala +++ b/scalalib/src/mill/scalalib/PublishModule.scala @@ -119,5 +119,5 @@ object PublishModule extends ExternalModule{ implicit def millScoptTargetReads[T] = new mill.main.Tasks.Scopt[T]() - def millDiscover: mill.define.Discover[this.type] = mill.define.Discover[this.type] + lazy val millDiscover: mill.define.Discover[this.type] = mill.define.Discover[this.type] }
\ No newline at end of file diff --git a/scalalib/src/mill/scalalib/ScalaWorkerApi.scala b/scalalib/src/mill/scalalib/ScalaWorkerApi.scala index 964179a9..7e11f61d 100644 --- a/scalalib/src/mill/scalalib/ScalaWorkerApi.scala +++ b/scalalib/src/mill/scalalib/ScalaWorkerApi.scala @@ -42,7 +42,7 @@ object ScalaWorkerApi extends mill.define.ExternalModule { Seq(ivy"org.scala-sbt:compiler-interface:1.1.0") ) } - def millDiscover = Discover[this.type] + lazy val millDiscover = Discover[this.type] } trait ScalaWorkerApi { |