sbt-jmh icon indicating copy to clipboard operation
sbt-jmh copied to clipboard

Enabling the plugin in project definitions with settings makes run raise exception

Open biboudis opened this issue 9 years ago • 3 comments

I tried to use two separate project definitions n scala-streams (build file), and after switching to each project separately, invoking run produces the No main class detected. error.

biboudis avatar Jun 04 '15 15:06 biboudis

Additionally.

If I use the code below it works. If I pass settings it doesn't.

lazy val root = project.in(file("."))
     .enablePlugins(JmhPlugin)
   //.settings(defaultSettings : _*)

biboudis avatar Jun 04 '15 16:06 biboudis

Thanks for reporting, sounds a bit weird - I'll try to get some time during scaladays to have a look at it :-) See you here (scaladays amsterdam)?

ktoso avatar Jun 06 '15 15:06 ktoso

Thx. Unfortunately not. I won't be able to attend! :-( :-(.

I'll report back if I solve it or find the root of the problem.

biboudis avatar Jun 07 '15 11:06 biboudis