import org.bigbluebutton.build._ //enablePlugins(JavaServerAppPackaging) enablePlugins(JettyPlugin) version := "0.0.3" val compileSettings = Seq( organization := "org.bigbluebutton", scalacOptions ++= List( "-unchecked", "-deprecation", "-Xlint", "-Ywarn-dead-code", "-language:_", "-target:jvm-1.8", "-encoding", "UTF-8" ), javacOptions ++= List( "-Xlint:unchecked", "-Xlint:deprecation" ) ) resolvers ++= Seq( "spray repo" at "http://repo.spray.io/", "blindside-repos" at "http://blindside.googlecode.com/svn/repository/" ) resolvers += Resolver.sonatypeRepo("releases") publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/dev/repo/maven-repo/releases" )) ) // We want to have our jar files in lib_managed dir. // This way we'll have the right path when we import // into eclipse. retrieveManaged := true testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "html", "console", "junitxml") testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/scalatest-reports") Seq(Revolver.settings: _*) lazy val bbbScreenshareAkka = (project in file(".")).settings(name := "bbb-screenshare-akka", libraryDependencies ++= Dependencies.runtime).settings(compileSettings) //----------- // Packaging // // Reference: // https://github.com/muuki88/sbt-native-packager-examples/tree/master/akka-server-app // http://www.scala-sbt.org/sbt-native-packager/index.html //----------- //mainClass := Some("org.bigbluebutton.deskshare.Boot") maintainer in Linux := "Richard Alam " packageSummary in Linux := "BigBlueButton Apps (Akka)" packageDescription := """BigBlueButton Screenshare in Akka.""" val user = "bigbluebutton" val group = "bigbluebutton" // user which will execute the application daemonUser in Linux := user // group which will execute the application daemonGroup in Linux := group