2018-11-06 04:11:58 +08:00
|
|
|
package org.bigbluebutton.build
|
|
|
|
|
|
|
|
import sbt._
|
|
|
|
import Keys._
|
|
|
|
|
|
|
|
object Dependencies {
|
|
|
|
|
|
|
|
object Versions {
|
|
|
|
// Scala
|
2021-12-03 00:01:44 +08:00
|
|
|
val scala = "2.12.15"
|
2018-11-06 04:11:58 +08:00
|
|
|
val junit = "4.12"
|
|
|
|
val junitInterface = "0.11"
|
|
|
|
val scalactic = "3.0.3"
|
|
|
|
|
|
|
|
// Libraries
|
2018-12-17 03:18:37 +08:00
|
|
|
val akkaVersion = "2.5.19"
|
2018-11-06 04:11:58 +08:00
|
|
|
val gson = "2.8.5"
|
|
|
|
val jackson = "2.9.7"
|
2018-11-07 01:54:27 +08:00
|
|
|
val sl4j = "1.7.25"
|
2018-12-11 03:16:03 +08:00
|
|
|
val red5 = "1.0.10-M9"
|
2020-02-28 17:44:28 +08:00
|
|
|
val pool = "2.8.0"
|
2018-11-10 03:08:20 +08:00
|
|
|
|
|
|
|
// Redis
|
2018-12-01 01:49:22 +08:00
|
|
|
val lettuce = "5.1.3.RELEASE"
|
2018-11-06 04:11:58 +08:00
|
|
|
|
|
|
|
// Test
|
|
|
|
val scalaTest = "3.0.5"
|
|
|
|
}
|
|
|
|
|
|
|
|
object Compile {
|
|
|
|
val scalaLibrary = "org.scala-lang" % "scala-library" % Versions.scala
|
|
|
|
val scalaCompiler = "org.scala-lang" % "scala-compiler" % Versions.scala
|
|
|
|
|
2018-11-10 03:08:20 +08:00
|
|
|
val akkaActor = "com.typesafe.akka" % "akka-actor_2.12" % Versions.akkaVersion
|
|
|
|
|
2018-11-06 04:11:58 +08:00
|
|
|
val googleGson = "com.google.code.gson" % "gson" % Versions.gson
|
|
|
|
val jacksonModule = "com.fasterxml.jackson.module" %% "jackson-module-scala" % Versions.jackson
|
2018-11-21 20:53:40 +08:00
|
|
|
val sl4jApi = "org.slf4j" % "slf4j-api" % Versions.sl4j % "runtime"
|
|
|
|
val red5 = "org.red5" % "red5-server-common" % Versions.red5
|
2018-12-01 01:49:22 +08:00
|
|
|
val apachePool2 = "org.apache.commons" % "commons-pool2" % Versions.pool
|
2018-11-10 03:08:20 +08:00
|
|
|
|
2018-11-22 05:30:41 +08:00
|
|
|
val lettuceCore = "io.lettuce" % "lettuce-core" % Versions.lettuce
|
2018-11-06 04:11:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
object Test {
|
|
|
|
val scalaTest = "org.scalatest" %% "scalatest" % Versions.scalaTest % "test"
|
|
|
|
val junit = "junit" % "junit" % Versions.junit % "test"
|
|
|
|
val junitInteface = "com.novocode" % "junit-interface" % Versions.junitInterface % "test"
|
|
|
|
val scalactic = "org.scalactic" % "scalactic_2.12" % Versions.scalactic % "test"
|
|
|
|
}
|
|
|
|
|
|
|
|
val testing = Seq(
|
|
|
|
Test.scalaTest,
|
|
|
|
Test.junit,
|
|
|
|
Test.junitInteface,
|
2018-11-10 03:08:20 +08:00
|
|
|
Test.scalactic)
|
2018-11-06 04:11:58 +08:00
|
|
|
|
|
|
|
val runtime = Seq(
|
|
|
|
Compile.scalaLibrary,
|
|
|
|
Compile.scalaCompiler,
|
2018-11-10 03:08:20 +08:00
|
|
|
Compile.akkaActor,
|
2018-11-06 04:11:58 +08:00
|
|
|
Compile.googleGson,
|
|
|
|
Compile.jacksonModule,
|
2018-11-07 01:54:27 +08:00
|
|
|
Compile.sl4jApi,
|
2018-11-21 20:53:40 +08:00
|
|
|
Compile.red5,
|
2018-12-01 01:49:22 +08:00
|
|
|
Compile.apachePool2,
|
2018-12-06 03:21:06 +08:00
|
|
|
Compile.lettuceCore) ++ testing
|
2018-11-06 04:11:58 +08:00
|
|
|
}
|