Remove warning "No main class" in SBT

I have a multi-module SBT project. Some of the modules produce JARs with the main classes and can be started using java -jar, but most of them do not work.

However, when I run (or compile or something else) one of the modules ( sbt foo/run), I get a warning in the library module.

[warn] No main class detected

How to remove these warnings?

+4
source share
1 answer

This warning is considered a bug in sbt 0.13.7, and it will be removed in sbt 0.13.8.

+7
source

All Articles