diff options
-rw-r--r-- | scalalib/src/mill/scalalib/JavaModule.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scalalib/src/mill/scalalib/JavaModule.scala b/scalalib/src/mill/scalalib/JavaModule.scala index 15fa7264..f1df22a6 100644 --- a/scalalib/src/mill/scalalib/JavaModule.scala +++ b/scalalib/src/mill/scalalib/JavaModule.scala @@ -280,7 +280,7 @@ trait JavaModule extends mill.Module with TaskModule { outer => def assembly = T{ createAssembly( Agg.from(localClasspath().map(_.path)), - mainClass(), + finalMainClassOpt().toOption, prependShellScript(), Some(upstreamAssembly().path), assemblyRules |