You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a general thing with SBT. If there are multiple main classes then the 'mainClass in CompileisNone` because there is no way to determine the "right" main class.
However a warning would be a nice addition. I keep this issue as a feature request.
There are several subtle bugs in docker packager. I'll start with this issue first.
Presense of several main classes breaks
docker:publishLocal
.Output directory
/target/docker/stage/opt
doesn't havebin
directory with execution script. Examplebuild.scala
is here: https://github.com/cppexpert/sbt-docker-example/blob/eaf729a352a667c4637fb800fd6a90725b773235/project/build.scalaThe text was updated successfully, but these errors were encountered: