source: launchers/build.sbt @ 4f47fab

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

Removed unused resources directory hopefully,
And aslo added an IconHelper? autoplugin which
will generate Mac OS X valid ICNS images.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1import sbt._
2import Keys._
3
4scalaVersion in Global := "2.11.11"
5
6resolvers ++= Seq(
7  DefaultMavenRepository,
8  Resolver.mavenLocal,
9  Resolver.sonatypeRepo("releases"),
10  Resolver.typesafeRepo("releases"),
11  Resolver.sbtPluginRepo("releases")
12)
13
14lazy val commonSettings = Seq(
15  organization := "net.i2p",
16  scalaVersion := "2.11.11", // We have to use Scala 11 as long as we're going to support JRE 1.7
17  version      := "0.1.0-SNAPSHOT",
18  maintainer := "Meeh <mikalv@mikalv.net>",
19  packageSummary := "The Invisible Internet Project",
20  packageDescription := "Blabla"
21)
22
23
24lazy val browserbundle = (project in file("browserbundle"))
25  .settings(
26    commonSettings,
27    name         := "RouterLaunchApp",
28    assemblyJarName in assembly := s"${name.value}-${version.value}.jar",
29    mainClass in assembly := Some("net.i2p.RouterLauncherApp")
30  )
31
32lazy val macosx = (project in file("macosx"))
33  .settings(
34    commonSettings,
35    name         := "MacI2PLauncher",
36    assemblyJarName in assembly := s"${name.value}-${version.value}.jar",
37    mainClass in assembly := Some("net.i2p.MacOSXRouterLauncherApp")
38  )
39
40
41lazy val root = (project in file("."))
42  .aggregate(browserbundle, macosx)
43
44scalacOptions in Compile := Seq("-deprecated")
45
46fork := true
47
48run / javaOptions += "-Xmx512M"
49run / connectInput := true
Note: See TracBrowser for help on using the repository browser.