I would like to run a scalafmtCheck in sbt assembly. I tried to add (compile in Compile) := ((compile in Compile) dependsOn scalafmtCheck).v
scalafmtCheck
sbt assembly
(compile in Compile) := ((compile in Compile) dependsOn scalafmtCheck).v