bigbluebutton-Github/akka-bbb-fsesl/build.sbt

127 lines
4.1 KiB
Plaintext
Raw Normal View History

2015-06-09 22:30:42 +08:00
enablePlugins(JavaServerAppPackaging)
2015-05-16 03:17:12 +08:00
2015-06-09 22:30:42 +08:00
name := "bbb-fsesl-akka"
2015-05-16 03:17:12 +08:00
organization := "org.bigbluebutton"
2015-06-09 22:30:42 +08:00
version := "0.0.1"
2015-05-16 03:17:12 +08:00
scalaVersion := "2.12.2"
2015-05-16 03:17:12 +08:00
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-Xlint",
"-Ywarn-dead-code",
"-language:_",
"-target:jvm-1.8",
2015-05-16 03:17:12 +08:00
"-encoding", "UTF-8"
)
resolvers ++= Seq(
"spray repo" at "http://repo.spray.io/",
"rediscala" at "http://dl.bintray.com/etaty/maven",
"blindside-repos" at "http://blindside.googlecode.com/svn/repository/"
)
resolvers += Resolver.sonatypeRepo("releases")
2015-05-16 03:17:12 +08:00
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")
2017-06-09 08:55:27 +08:00
val akkaVersion = "2.5.1"
val scalaTestV = "2.2.6"
2015-05-16 03:17:12 +08:00
libraryDependencies ++= {
Seq(
Merge branch 'mod-verto-1' of github.com:antobinary/bigbluebutton into merge-webrtc-ds Conflicts: akka-bbb-apps/build.sbt akka-bbb-apps/src/main/resources/application.conf akka-bbb-apps/src/main/scala/org/bigbluebutton/SystemConfiguration.scala akka-bbb-apps/src/main/scala/org/bigbluebutton/core/MessageSenderActor.scala akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/UsersApp.scala akka-bbb-fsesl/build.sbt bbb-common-message/build.sbt bbb-fsesl-client/build.sbt bbb-fsesl-client/src/main/java/org/freeswitch/esl/client/inbound/Client.java bigbluebutton-apps/build.gradle bigbluebutton-client/build.xml bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/utils/BrowserCheck.as bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/utils/JavaCheck.as bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/view/components/DesktopPublishWindow.mxml bigbluebutton-client/src/org/bigbluebutton/modules/users/services/MessageReceiver.as bigbluebutton-html5/app/client/NotificationControl.coffee bigbluebutton-html5/app/client/globals.coffee bigbluebutton-html5/app/client/lib/bbb_api_bridge.coffee bigbluebutton-html5/app/client/main.coffee bigbluebutton-html5/app/client/main.html bigbluebutton-html5/app/client/stylesheets/whiteboard.less bigbluebutton-html5/app/client/views/chat/chat_bar.coffee bigbluebutton-html5/app/client/views/modals/settings.coffee bigbluebutton-html5/app/client/views/modals/settings.html bigbluebutton-html5/app/client/views/users/user_item.coffee bigbluebutton-html5/app/client/views/whiteboard/whiteboard.coffee bigbluebutton-html5/app/client/views/whiteboard/whiteboard.html bigbluebutton-html5/app/collections/collections.coffee bigbluebutton-html5/app/config.coffee bigbluebutton-html5/app/lib/router.coffee bigbluebutton-html5/app/server/collection_methods/meetings.coffee bigbluebutton-html5/app/server/collection_methods/users.coffee bigbluebutton-html5/app/server/publish.coffee bigbluebutton-html5/app/server/server.coffee bigbluebutton-web/src/java/org/bigbluebutton/api/MeetingService.java record-and-playback/presentation/scripts/process/presentation.rb record-and-playback/presentation/scripts/publish/presentation.rb
2016-05-18 23:14:04 +08:00
"ch.qos.logback" % "logback-classic" % "1.0.3",
"junit" % "junit" % "4.11",
"commons-codec" % "commons-codec" % "1.10",
Merge branch 'mod-verto-1' of github.com:antobinary/bigbluebutton into merge-webrtc-ds Conflicts: akka-bbb-apps/build.sbt akka-bbb-apps/src/main/resources/application.conf akka-bbb-apps/src/main/scala/org/bigbluebutton/SystemConfiguration.scala akka-bbb-apps/src/main/scala/org/bigbluebutton/core/MessageSenderActor.scala akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/UsersApp.scala akka-bbb-fsesl/build.sbt bbb-common-message/build.sbt bbb-fsesl-client/build.sbt bbb-fsesl-client/src/main/java/org/freeswitch/esl/client/inbound/Client.java bigbluebutton-apps/build.gradle bigbluebutton-client/build.xml bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/utils/BrowserCheck.as bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/utils/JavaCheck.as bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/view/components/DesktopPublishWindow.mxml bigbluebutton-client/src/org/bigbluebutton/modules/users/services/MessageReceiver.as bigbluebutton-html5/app/client/NotificationControl.coffee bigbluebutton-html5/app/client/globals.coffee bigbluebutton-html5/app/client/lib/bbb_api_bridge.coffee bigbluebutton-html5/app/client/main.coffee bigbluebutton-html5/app/client/main.html bigbluebutton-html5/app/client/stylesheets/whiteboard.less bigbluebutton-html5/app/client/views/chat/chat_bar.coffee bigbluebutton-html5/app/client/views/modals/settings.coffee bigbluebutton-html5/app/client/views/modals/settings.html bigbluebutton-html5/app/client/views/users/user_item.coffee bigbluebutton-html5/app/client/views/whiteboard/whiteboard.coffee bigbluebutton-html5/app/client/views/whiteboard/whiteboard.html bigbluebutton-html5/app/collections/collections.coffee bigbluebutton-html5/app/config.coffee bigbluebutton-html5/app/lib/router.coffee bigbluebutton-html5/app/server/collection_methods/meetings.coffee bigbluebutton-html5/app/server/collection_methods/users.coffee bigbluebutton-html5/app/server/publish.coffee bigbluebutton-html5/app/server/server.coffee bigbluebutton-web/src/java/org/bigbluebutton/api/MeetingService.java record-and-playback/presentation/scripts/process/presentation.rb record-and-playback/presentation/scripts/publish/presentation.rb
2016-05-18 23:14:04 +08:00
"joda-time" % "joda-time" % "2.3",
2017-06-09 08:55:27 +08:00
"org.apache.commons" % "commons-lang3" % "3.2"
Merge branch 'mod-verto-1' of github.com:antobinary/bigbluebutton into merge-webrtc-ds Conflicts: akka-bbb-apps/build.sbt akka-bbb-apps/src/main/resources/application.conf akka-bbb-apps/src/main/scala/org/bigbluebutton/SystemConfiguration.scala akka-bbb-apps/src/main/scala/org/bigbluebutton/core/MessageSenderActor.scala akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/UsersApp.scala akka-bbb-fsesl/build.sbt bbb-common-message/build.sbt bbb-fsesl-client/build.sbt bbb-fsesl-client/src/main/java/org/freeswitch/esl/client/inbound/Client.java bigbluebutton-apps/build.gradle bigbluebutton-client/build.xml bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/utils/BrowserCheck.as bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/utils/JavaCheck.as bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/view/components/DesktopPublishWindow.mxml bigbluebutton-client/src/org/bigbluebutton/modules/users/services/MessageReceiver.as bigbluebutton-html5/app/client/NotificationControl.coffee bigbluebutton-html5/app/client/globals.coffee bigbluebutton-html5/app/client/lib/bbb_api_bridge.coffee bigbluebutton-html5/app/client/main.coffee bigbluebutton-html5/app/client/main.html bigbluebutton-html5/app/client/stylesheets/whiteboard.less bigbluebutton-html5/app/client/views/chat/chat_bar.coffee bigbluebutton-html5/app/client/views/modals/settings.coffee bigbluebutton-html5/app/client/views/modals/settings.html bigbluebutton-html5/app/client/views/users/user_item.coffee bigbluebutton-html5/app/client/views/whiteboard/whiteboard.coffee bigbluebutton-html5/app/client/views/whiteboard/whiteboard.html bigbluebutton-html5/app/collections/collections.coffee bigbluebutton-html5/app/config.coffee bigbluebutton-html5/app/lib/router.coffee bigbluebutton-html5/app/server/collection_methods/meetings.coffee bigbluebutton-html5/app/server/collection_methods/users.coffee bigbluebutton-html5/app/server/publish.coffee bigbluebutton-html5/app/server/server.coffee bigbluebutton-web/src/java/org/bigbluebutton/api/MeetingService.java record-and-playback/presentation/scripts/process/presentation.rb record-and-playback/presentation/scripts/publish/presentation.rb
2016-05-18 23:14:04 +08:00
)}
2015-05-16 03:17:12 +08:00
2017-06-09 08:55:27 +08:00
libraryDependencies += "org.bigbluebutton" % "bbb-common-message_2.12" % "0.0.19-SNAPSHOT"
libraryDependencies += "org.bigbluebutton" % "bbb-fsesl-client" % "0.0.5"
2017-06-09 08:55:27 +08:00
// https://mvnrepository.com/artifact/org.scala-lang/scala-library
libraryDependencies += "org.scala-lang" % "scala-library" % "2.12.2"
// https://mvnrepository.com/artifact/org.scala-lang/scala-compiler
libraryDependencies += "org.scala-lang" % "scala-compiler" % "2.12.2"
// https://mvnrepository.com/artifact/com.typesafe.akka/akka-actor_2.12
libraryDependencies += "com.typesafe.akka" % "akka-actor_2.12" % akkaVersion
// https://mvnrepository.com/artifact/com.typesafe.akka/akka-slf4j_2.12
libraryDependencies += "com.typesafe.akka" % "akka-slf4j_2.12" % akkaVersion
// https://mvnrepository.com/artifact/com.github.etaty/rediscala_2.12
libraryDependencies += "com.github.etaty" % "rediscala_2.12" % "1.8.0"
// For generating test reports
libraryDependencies += "org.pegdown" % "pegdown" % "1.6.0" % "test"
// https://mvnrepository.com/artifact/com.typesafe.akka/akka-testkit_2.12
libraryDependencies += "com.typesafe.akka" % "akka-testkit_2.12" % "2.5.1" % "test"
// https://mvnrepository.com/artifact/org.scalactic/scalactic_2.12
libraryDependencies += "org.scalactic" % "scalactic_2.12" % "3.0.3" % "test"
// https://mvnrepository.com/artifact/org.scalatest/scalatest_2.12
libraryDependencies += "org.scalatest" % "scalatest_2.12" % "3.0.3" % "test"
libraryDependencies += "org.mockito" % "mockito-core" % "2.7.22" % "test"
2015-05-16 03:17:12 +08:00
seq(Revolver.settings: _*)
scalariformSettings
2015-06-09 22:30:42 +08:00
//-----------
// 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.Boot")
maintainer in Linux := "Richard Alam <ritzalam@gmail.com>"
2015-06-11 04:45:29 +08:00
2015-06-09 22:30:42 +08:00
packageSummary in Linux := "BigBlueButton FS-ESL (Akka)"
2015-06-11 04:45:29 +08:00
2015-06-09 22:30:42 +08:00
packageDescription := """BigBlueButton FreeSWITCH ESL in Akka."""
val user = "bigbluebutton"
2015-06-11 04:45:29 +08:00
2015-06-09 22:30:42 +08:00
val group = "bigbluebutton"
// user which will execute the application
daemonUser in Linux := user
2015-06-11 04:45:29 +08:00
2015-06-09 22:30:42 +08:00
// group which will execute the application
daemonGroup in Linux := group
mappings in Universal <+= (packageBin in Compile, sourceDirectory ) map { (_, src) =>
// Move the application.conf so the user can override settings here
val appConf = src / "main" / "resources" / "application.conf"
appConf -> "conf/application.conf"
}
mappings in Universal <+= (packageBin in Compile, sourceDirectory ) map { (_, src) =>
// Move logback.xml so the user can override settings here
val logConf = src / "main" / "resources" / "logback.xml"
logConf -> "conf/logback.xml"
}
debianPackageDependencies in Debian ++= Seq("java7-runtime-headless", "bash")