bigbluebutton-Github/akka-bbb-fsesl/project/Dependencies.scala

89 lines
2.6 KiB
Scala
Raw Normal View History

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"
val junitInterface = "0.11"
2022-03-11 04:51:05 +08:00
val scalactic = "3.0.8"
// Libraries
val akkaVersion = "2.6.17"
val akkaHttpVersion = "10.2.7"
2022-02-11 17:58:55 +08:00
val logback = "1.2.10"
// Apache Commons
val lang = "3.12.0"
val codec = "1.15"
// BigBlueButton
2022-12-21 00:07:08 +08:00
val bbbCommons = "0.0.22-SNAPSHOT"
val bbbFsesl = "0.0.9-SNAPSHOT"
// Test
2022-03-11 04:51:05 +08:00
val scalaTest = "3.2.11"
val akkaTestKit = "2.6.0"
val junit = "4.12"
}
object Compile {
val scalaLibrary = "org.scala-lang" % "scala-library" % Versions.scala
val scalaCompiler = "org.scala-lang" % "scala-compiler" % Versions.scala
2022-03-11 04:51:05 +08:00
val akkaActor = "com.typesafe.akka" % "akka-actor_2.13" % Versions.akkaVersion
val akkaSl4fj = "com.typesafe.akka" % "akka-slf4j_2.13" % Versions.akkaVersion
2020-02-08 05:23:29 +08:00
val akkaStream = "com.typesafe.akka" %% "akka-stream" % Versions.akkaVersion
val akkaHttp = "com.typesafe.akka" %% "akka-http" % Versions.akkaHttpVersion
val akkaHttpSprayJson = "com.typesafe.akka" %% "akka-http-spray-json" % Versions.akkaHttpVersion
val logback = "ch.qos.logback" % "logback-classic" % Versions.logback
val commonsCodec = "commons-codec" % "commons-codec" % Versions.codec
val apacheLang = "org.apache.commons" % "commons-lang3" % Versions.lang
val bbbCommons = "org.bigbluebutton" % "bbb-common-message_2.13" % Versions.bbbCommons
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 junit = "junit" % "junit" % Versions.junit % "test"
val scalactic = "org.scalactic" % "scalactic_2.13" % Versions.scalactic % "test"
val akkaTestKit = "com.typesafe.akka" %% "akka-testkit" % Versions.akkaTestKit % "test"
2020-02-08 05:23:29 +08:00
// https://mvnrepository.com/artifact/com.typesafe.akka/akka-http-testkit
2022-03-11 04:51:05 +08:00
val akkaHttpTestkit = "com.typesafe.akka" %% "akka-http-testkit" % "10.2.0" % "test"
2020-02-08 05:23:29 +08:00
}
2022-03-11 04:51:05 +08:00
val testing = Seq(
Test.scalaTest,
2022-03-11 04:51:05 +08:00
// Test.junit,
Test.scalactic,
2020-02-08 05:23:29 +08:00
Test.akkaTestKit,
2022-03-11 04:51:05 +08:00
Test.akkaHttpTestkit
)
val runtime = Seq(
Compile.scalaLibrary,
Compile.scalaCompiler,
Compile.akkaActor,
Compile.akkaSl4fj,
2020-02-08 05:23:29 +08:00
Compile.akkaStream,
Compile.logback,
Compile.commonsCodec,
Compile.apacheLang,
Compile.bbbCommons,
2020-02-08 05:23:29 +08:00
Compile.bbbFseslClient,
Compile.akkaHttp,
Compile.akkaHttpSprayJson) ++ testing
}