source: launchers/macosx/build.sbt @ 8c10ec9

Last change on this file since 8c10ec9 was 8c10ec9, checked in by meeh <meeh@…>, 2 years ago

Realised a better way to handle the build process of both the
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 :)

  • Property mode set to 100644
File size: 757 bytes
Line 
1import sbtassembly.AssemblyPlugin.defaultShellScript
2
3lazy val i2pVersion = "0.9.34"
4
5// Unmanaged classpath will be available at compile time
6unmanagedClasspath in Compile ++= Seq(
7  baseDirectory.value / ".." / ".." / "build" / "*.jar",
8  baseDirectory.value / ".." / ".." / "router" / "java" / "src"
9)
10
11// Please note the difference between browserbundle, this has
12// the "in Compile" which limit it's scope to that.
13//unmanagedBase in Compile := baseDirectory.value / ".." / ".." / "build"
14
15libraryDependencies ++= Seq(
16  "net.i2p" % "router" % i2pVersion % Compile
17)
18
19
20assemblyOption in assembly := (assemblyOption in assembly).value.copy(prependShellScript = Some(defaultShellScript))
21
22assemblyJarName in assembly := s"${name.value}-${version.value}"
Note: See TracBrowser for help on using the repository browser.