Open xuwei-k opened 6 years ago
Hi. Are there any updates or workarounds for this issue?
I am also running into this issue, but I am not able to grasp why it is failing when looking into the piece of code throwing this exception: https://github.com/lucidsoftware/neo-sbt-scalafmt/blob/1.10/sbt-scalafmt/src/main/scala/com/lucidchart/sbt/scalafmt/ScalafmtSbtPlugin.scala#L16
Btw, my error looks a be different (v1.10 and sbt 1.0.5):
ProjectRef(uri("file:/Users/paul.heymann/<path to other subproject b>"), "b") / Sbt / scalafmtOnCompile from Global / onLoad ((com.lucidchart.sbt.scalafmt.ScalafmtSbtPlugin.globalSettings) ScalafmtSbtPlugin.scala:16)
My only guess it that Global
hasn't evaluated b
when resolving the ProjectRef
and therefore cannot find the setting. But I would assume that it should be available since sbt brings the subproject sbt configuration into the scope of the parent project.
Hi, I'm also having this issue. Any updates?
a/build.sbt
build.sbt
project/build.properties
project/plugin.sbt
error log