Jar deployment, SBT hacking, and more related to launcher code.

Some refactoring, bugfixing, and self awareness of launcher jar.
This commit is contained in:
meeh
2018-05-01 11:15:11 +00:00
parent 345e7414e6
commit f6c8e44329
7 changed files with 95 additions and 33 deletions

View File

@@ -31,7 +31,10 @@ lazy val browserbundle = (project in file("browserbundle"))
commonSettings,
name := "RouterLaunchApp",
assemblyJarName in assembly := s"${name.value}-${version.value}.jar",
mainClass in assembly := Some("net.i2p.RouterLauncherApp")
mainClass in assembly := Some("net.i2p.RouterLauncherApp"),
libraryDependencies ++= Seq(
"org.json4s" %% "json4s-native" % "3.5.3"
)
).dependsOn(common)
lazy val macosx = (project in file("macosx"))
@@ -52,3 +55,4 @@ fork := true
run / javaOptions += "-Xmx512M"
run / connectInput := true