diff options
author | Jan Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-28 09:45:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 09:45:02 -0500 |
commit | 4cb8eb87c1b5979e614a8355215d1257d2867261 (patch) | |
tree | 15073f04de2e88dab1b1381a6259f9e047990cf4 /plugins | |
parent | 9f3c5f3a36ea70a8dec03b048cc41b6579eb6c4b (diff) | |
parent | 734d2f801a47f272d79b99531815e19704146b37 (diff) | |
download | cbt-4cb8eb87c1b5979e614a8355215d1257d2867261.tar.gz cbt-4cb8eb87c1b5979e614a8355215d1257d2867261.tar.bz2 cbt-4cb8eb87c1b5979e614a8355215d1257d2867261.zip |
Merge pull request #359 from cvogt/jar-refactor
Jar refactor
Diffstat (limited to 'plugins')
-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") |