Skip to content

Commit

Permalink
tswrdb can now have a fatjar built with the assembly task
Browse files Browse the repository at this point in the history
Added sbt-assembly plugin
Added assembly instructions
  • Loading branch information
joakibj committed Nov 12, 2013
1 parent e0e63c0 commit 1c0b44b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.5.1")
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.5.1")

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.9.2")
7 changes: 7 additions & 0 deletions tswrdb-cmdui/assembly.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import AssemblyKeys._

assemblySettings

jarName in assembly <<= (version) map { (version) => "tswrdb-" + version + ".jar" }

mainClass in assembly := Some("com.joakibj.tswrdb.TswRdb")

0 comments on commit 1c0b44b

Please sign in to comment.