2018-11-14 19:25:52 +08:00
|
|
|
package org.bigbluebutton.build
|
|
|
|
|
|
|
|
import sbt._
|
|
|
|
import Keys._
|
|
|
|
|
|
|
|
object Dependencies {
|
|
|
|
|
|
|
|
object Versions {
|
|
|
|
// Scala
|
2018-12-17 03:18:37 +08:00
|
|
|
val scala = "2.12.8"
|
2018-11-14 19:25:52 +08:00
|
|
|
|
|
|
|
// Libraries
|
2018-12-17 03:18:37 +08:00
|
|
|
val akkaVersion = "2.5.19"
|
2018-11-14 19:25:52 +08:00
|
|
|
val gson = "2.8.5"
|
|
|
|
val sl4j = "1.7.25"
|
|
|
|
val quicklens = "1.4.11"
|
|
|
|
|
|
|
|
// Apache Commons
|
|
|
|
val lang = "3.8.1"
|
|
|
|
val io = "2.6"
|
|
|
|
val pool = "2.6.0"
|
|
|
|
|
|
|
|
// BigBlueButton
|
|
|
|
val bbbCommons = "0.0.20-SNAPSHOT"
|
|
|
|
}
|
|
|
|
|
|
|
|
object Compile {
|
|
|
|
val scalaLibrary = "org.scala-lang" % "scala-library" % Versions.scala
|
|
|
|
val scalaCompiler = "org.scala-lang" % "scala-compiler" % Versions.scala
|
|
|
|
|
|
|
|
val akkaActor = "com.typesafe.akka" % "akka-actor_2.12" % Versions.akkaVersion
|
2018-11-22 05:30:41 +08:00
|
|
|
val akkaSl4fj = "com.typesafe.akka" % "akka-slf4j_2.12" % Versions.akkaVersion
|
2018-11-14 19:25:52 +08:00
|
|
|
|
|
|
|
val googleGson = "com.google.code.gson" % "gson" % Versions.gson
|
|
|
|
val quicklens = "com.softwaremill.quicklens" %% "quicklens" % Versions.quicklens
|
2018-11-21 20:53:40 +08:00
|
|
|
val sl4jApi = "org.slf4j" % "slf4j-api" % Versions.sl4j % "provided"
|
2018-11-14 19:25:52 +08:00
|
|
|
|
|
|
|
val apacheLang = "org.apache.commons" % "commons-lang3" % Versions.lang
|
|
|
|
val apacheIo = "commons-io" % "commons-io" % Versions.io
|
|
|
|
val apachePool2 = "org.apache.commons" % "commons-pool2" % Versions.pool
|
|
|
|
|
|
|
|
val bbbCommons = "org.bigbluebutton" % "bbb-common-message_2.12" % Versions.bbbCommons
|
|
|
|
}
|
|
|
|
|
|
|
|
val runtime = Seq(
|
|
|
|
Compile.scalaLibrary,
|
|
|
|
Compile.scalaCompiler,
|
|
|
|
Compile.akkaActor,
|
|
|
|
Compile.akkaSl4fj,
|
|
|
|
Compile.googleGson,
|
|
|
|
Compile.quicklens,
|
|
|
|
Compile.sl4jApi,
|
|
|
|
Compile.apacheLang,
|
|
|
|
Compile.apacheIo,
|
|
|
|
Compile.apachePool2,
|
2018-12-06 03:21:06 +08:00
|
|
|
Compile.bbbCommons)
|
2018-11-14 19:25:52 +08:00
|
|
|
}
|