diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/mill/modules/Jvm.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/mill/modules/Jvm.scala b/core/src/mill/modules/Jvm.scala index d9abff86..fc1a1665 100644 --- a/core/src/mill/modules/Jvm.scala +++ b/core/src/mill/modules/Jvm.scala @@ -162,7 +162,7 @@ object Jvm { def createJar(inputPaths: Agg[Path], mainClass: Option[String] = None) (implicit ctx: Ctx.DestCtx): PathRef = { - val outputPath = ctx.dest + val outputPath = ctx.dest / "out.jar" rm(outputPath) mkdir(outputPath/up) @@ -200,7 +200,7 @@ object Jvm { mainClass: Option[String] = None, prependShellScript: String = "") (implicit ctx: Ctx.DestCtx): PathRef = { - val outputPath = ctx.dest + val outputPath = ctx.dest / "out.jar" rm(outputPath) if(inputPaths.nonEmpty) { |