2018-11-10 03:08:20 +08:00
|
|
|
package org.bigbluebutton.build
|
|
|
|
|
|
|
|
import sbt._
|
|
|
|
import Keys._
|
|
|
|
|
|
|
|
object Dependencies {
|
|
|
|
|
|
|
|
object Versions {
|
|
|
|
// Scala
|
2022-12-21 00:07:08 +08:00
|
|
|
val scala = "2.13.9"
|
2018-11-10 03:08:20 +08:00
|
|
|
val junitInterface = "0.11"
|
2022-03-11 04:51:05 +08:00
|
|
|
val scalactic = "3.0.8"
|
2018-11-10 03:08:20 +08:00
|
|
|
|
|
|
|
// Libraries
|
2023-08-17 22:20:50 +08:00
|
|
|
val pekkoVersion = "1.0.1"
|
|
|
|
val pekkoHttpVersion = "1.0.0"
|
2024-03-16 00:07:07 +08:00
|
|
|
val logback = "1.2.13"
|
2018-11-10 03:08:20 +08:00
|
|
|
|
|
|
|
// Apache Commons
|
2021-12-05 01:56:09 +08:00
|
|
|
val lang = "3.12.0"
|
|
|
|
val codec = "1.15"
|
2018-11-10 03:08:20 +08:00
|
|
|
|
|
|
|
// BigBlueButton
|
2022-12-21 00:07:08 +08:00
|
|
|
val bbbCommons = "0.0.22-SNAPSHOT"
|
|
|
|
val bbbFsesl = "0.0.9-SNAPSHOT"
|
2018-11-10 03:08:20 +08:00
|
|
|
|
|
|
|
// Test
|
2022-03-11 04:51:05 +08:00
|
|
|
val scalaTest = "3.2.11"
|
2023-08-17 22:20:50 +08:00
|
|
|
val pekkoTestKit = "1.0.1"
|
2018-11-10 03:08:20 +08:00
|
|
|
val junit = "4.12"
|
|
|
|
}
|
|
|
|
|
|
|
|
object Compile {
|
|
|
|
val scalaLibrary = "org.scala-lang" % "scala-library" % Versions.scala
|
|
|
|
val scalaCompiler = "org.scala-lang" % "scala-compiler" % Versions.scala
|
|
|
|
|
2023-08-17 22:20:50 +08:00
|
|
|
val pekkoActor = "org.apache.pekko" %% "pekko-actor" % Versions.pekkoVersion
|
|
|
|
val pekkoSlf4j = "org.apache.pekko" %% "pekko-slf4j" % Versions.pekkoVersion
|
|
|
|
val pekkoStream = "org.apache.pekko" %% "pekko-stream" % Versions.pekkoVersion
|
2020-02-08 05:23:29 +08:00
|
|
|
|
2023-08-17 22:20:50 +08:00
|
|
|
val pekkoHttp = "org.apache.pekko" %% "pekko-http" % Versions.pekkoHttpVersion
|
|
|
|
val pekkoHttpSprayJson = "org.apache.pekko" %% "pekko-http-spray-json" % Versions.pekkoHttpVersion
|
2020-02-08 05:23:29 +08:00
|
|
|
|
2018-11-21 20:53:40 +08:00
|
|
|
val logback = "ch.qos.logback" % "logback-classic" % Versions.logback
|
2018-11-10 03:08:20 +08:00
|
|
|
val commonsCodec = "commons-codec" % "commons-codec" % Versions.codec
|
|
|
|
|
|
|
|
val apacheLang = "org.apache.commons" % "commons-lang3" % Versions.lang
|
|
|
|
|
2022-06-13 19:19:08 +08:00
|
|
|
val bbbCommons = "org.bigbluebutton" % "bbb-common-message_2.13" % Versions.bbbCommons
|
|
|
|
|
2018-11-10 03:08:20 +08:00
|
|
|
val bbbFseslClient = "org.bigbluebutton" % "bbb-fsesl-client" % Versions.bbbFsesl
|
|
|
|
}
|
|
|
|
|
|
|
|
object Test {
|
|
|
|
val scalaTest = "org.scalatest" %% "scalatest" % Versions.scalaTest % "test"
|
2022-03-11 04:51:05 +08:00
|
|
|
val scalactic = "org.scalactic" % "scalactic_2.13" % Versions.scalactic % "test"
|
2023-08-17 22:20:50 +08:00
|
|
|
val pekkoTestKit = "org.apache.pekko" %% "pekko-testkit" % Versions.pekkoTestKit % "test"
|
2020-02-08 05:23:29 +08:00
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/com.typesafe.akka/akka-http-testkit
|
2023-08-17 22:20:50 +08:00
|
|
|
val pekkoHttpTestKit = "org.apache.pekko" %% "pekko-http-testkit" % "1.0.0" % "test"
|
2018-11-10 03:08:20 +08:00
|
|
|
}
|
|
|
|
|
2022-03-11 04:51:05 +08:00
|
|
|
|
2018-11-10 03:08:20 +08:00
|
|
|
val testing = Seq(
|
|
|
|
Test.scalaTest,
|
2022-03-11 04:51:05 +08:00
|
|
|
// Test.junit,
|
2018-11-10 03:08:20 +08:00
|
|
|
Test.scalactic,
|
2023-08-17 22:20:50 +08:00
|
|
|
Test.pekkoTestKit,
|
|
|
|
Test.pekkoHttpTestKit
|
2022-03-11 04:51:05 +08:00
|
|
|
)
|
|
|
|
|
2018-11-10 03:08:20 +08:00
|
|
|
|
|
|
|
val runtime = Seq(
|
|
|
|
Compile.scalaLibrary,
|
|
|
|
Compile.scalaCompiler,
|
2023-08-17 22:20:50 +08:00
|
|
|
Compile.pekkoActor,
|
|
|
|
Compile.pekkoSlf4j,
|
|
|
|
Compile.pekkoStream,
|
2018-11-10 03:08:20 +08:00
|
|
|
Compile.logback,
|
|
|
|
Compile.commonsCodec,
|
|
|
|
Compile.apacheLang,
|
|
|
|
Compile.bbbCommons,
|
2020-02-08 05:23:29 +08:00
|
|
|
Compile.bbbFseslClient,
|
2023-08-17 22:20:50 +08:00
|
|
|
Compile.pekkoHttp,
|
|
|
|
Compile.pekkoHttpSprayJson) ++ testing
|
2018-11-10 03:08:20 +08:00
|
|
|
}
|