diff options
Diffstat (limited to 'plugins/uber-jar/src/UberJar.scala')
-rw-r--r-- | plugins/uber-jar/src/UberJar.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uber-jar/src/UberJar.scala b/plugins/uber-jar/src/UberJar.scala index 79b87a1..b1c613c 100644 --- a/plugins/uber-jar/src/UberJar.scala +++ b/plugins/uber-jar/src/UberJar.scala @@ -54,7 +54,7 @@ class UberJarLib(logger: Logger) { log("Writing jar file...") val uberJarPath = target.toPath.resolve(jarName) - val uberJar = lib.jarFile(uberJarPath.toFile, dirs :+ extractedJarsRoot, mainClass) getOrElse { + val uberJar = lib.createJar(uberJarPath.toFile, dirs :+ extractedJarsRoot, mainClass=mainClass) getOrElse { throw new Exception("Jar file wasn't created!") } log("Writing jar file - DONE") |