source: launchers/browserbundle/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: 625 bytes
Line 
1
2
3libraryDependencies ++= Seq(
4  "org.json4s" %% "json4s-native" % "3.5.3"
5)
6
7assemblyExcludedJars in assembly := {
8  val donts = List(
9    "BOB.jar",
10    "sam.jar",
11    "desktopgui.jar",
12    "i2ptunnel-ui.jar",
13    "i2psnark.jar",
14    "jetty-sslengine.jar"
15  )
16  val cp = (fullClasspath in assembly).value
17  cp filter { s => donts.contains(s.data.getName)}
18}
19
20// Unmanaged base will be included in a fat jar
21unmanagedBase := baseDirectory.value / ".." / ".." / "build"
22
23// Unmanaged classpath will be available at compile time
24unmanagedClasspath in Compile ++= Seq(
25  baseDirectory.value / ".." / ".." / "build" / "*.jar"
26)
Note: See TracBrowser for help on using the repository browser.