2018-11-06 04:11:58 +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-06 04:11:58 +08:00
|
|
|
val junit = "4.12"
|
|
|
|
val junitInterface = "0.11"
|
2022-02-25 12:39:48 +08:00
|
|
|
val scalactic = "3.0.8"
|
2018-11-06 04:11:58 +08:00
|
|
|
|
|
|
|
// Libraries
|
2021-12-04 18:55:26 +08:00
|
|
|
val akkaVersion = "2.6.17"
|
|
|
|
val gson = "2.8.9"
|
2023-01-26 06:44:28 +08:00
|
|
|
val jackson = "2.13.5"
|
2021-12-04 18:55:26 +08:00
|
|
|
val sl4j = "1.7.32"
|
|
|
|
val pool = "2.11.1"
|
2021-12-09 00:21:33 +08:00
|
|
|
val codec = "1.15"
|
2018-11-10 03:08:20 +08:00
|
|
|
|
|
|
|
// Redis
|
2021-12-04 18:55:26 +08:00
|
|
|
val lettuce = "6.1.5.RELEASE"
|
2018-11-06 04:11:58 +08:00
|
|
|
|
|
|
|
// Test
|
2022-02-25 12:39:48 +08:00
|
|
|
val scalaTest = "3.0.8"
|
2018-11-06 04:11:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
object Compile {
|
|
|
|
val scalaLibrary = "org.scala-lang" % "scala-library" % Versions.scala
|
|
|
|
val scalaCompiler = "org.scala-lang" % "scala-compiler" % Versions.scala
|
|
|
|
|
2022-02-25 12:39:48 +08:00
|
|
|
val akkaActor = "com.typesafe.akka" % "akka-actor_2.13" % Versions.akkaVersion
|
2018-11-10 03:08:20 +08:00
|
|
|
|
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
|
2021-12-09 00:21:33 +08:00
|
|
|
val sl4jApi = "org.slf4j" % "slf4j-api" % Versions.sl4j
|
2018-12-01 01:49:22 +08:00
|
|
|
val apachePool2 = "org.apache.commons" % "commons-pool2" % Versions.pool
|
2021-12-09 00:21:33 +08:00
|
|
|
val commonsCodec = "commons-codec" % "commons-codec" % Versions.codec
|
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"
|
2022-02-25 12:39:48 +08:00
|
|
|
val scalactic = "org.scalactic" % "scalactic_2.13" % Versions.scalactic % "test"
|
2018-11-06 04:11:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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,
|
2021-12-09 00:21:33 +08:00
|
|
|
Compile.commonsCodec,
|
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
|
|
|
}
|