forked from I2P_Developers/i2p.i2p

Browser Bundle i2p launcher, as well as the upcoming Mac OS X i2p launcher. They share some few properties and how code has to be managed for both system's update managers and so on. More details will be documentated in README.md files as well as in those commit messages I now write :)
23 lines
757 B
Scala
23 lines
757 B
Scala
import sbtassembly.AssemblyPlugin.defaultShellScript
|
|
|
|
lazy val i2pVersion = "0.9.34"
|
|
|
|
// Unmanaged classpath will be available at compile time
|
|
unmanagedClasspath in Compile ++= Seq(
|
|
baseDirectory.value / ".." / ".." / "build" / "*.jar",
|
|
baseDirectory.value / ".." / ".." / "router" / "java" / "src"
|
|
)
|
|
|
|
// Please note the difference between browserbundle, this has
|
|
// the "in Compile" which limit it's scope to that.
|
|
//unmanagedBase in Compile := baseDirectory.value / ".." / ".." / "build"
|
|
|
|
libraryDependencies ++= Seq(
|
|
"net.i2p" % "router" % i2pVersion % Compile
|
|
)
|
|
|
|
|
|
assemblyOption in assembly := (assemblyOption in assembly).value.copy(prependShellScript = Some(defaultShellScript))
|
|
|
|
assemblyJarName in assembly := s"${name.value}-${version.value}"
|