bigbluebutton-Github/bbb-common-message/project/Dependencies.scala

69 lines
1.9 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 junit = "4.12"
val junitInterface = "0.11"
2022-02-25 12:39:48 +08:00
val scalactic = "3.0.8"
// Libraries
val akkaVersion = "2.6.17"
val gson = "2.8.9"
2023-01-26 06:44:28 +08:00
val jackson = "2.13.5"
val sl4j = "1.7.32"
val pool = "2.11.1"
2021-12-09 00:21:33 +08:00
val codec = "1.15"
// Redis
val lettuce = "6.1.5.RELEASE"
// Test
2022-02-25 12:39:48 +08:00
val scalaTest = "3.0.8"
}
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
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
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
val lettuceCore = "io.lettuce" % "lettuce-core" % Versions.lettuce
}
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"
}
val testing = Seq(
Test.scalaTest,
Test.junit,
Test.junitInteface,
Test.scalactic)
val runtime = Seq(
Compile.scalaLibrary,
Compile.scalaCompiler,
Compile.akkaActor,
Compile.googleGson,
Compile.jacksonModule,
Compile.sl4jApi,
2021-12-09 00:21:33 +08:00
Compile.commonsCodec,
Compile.apachePool2,
Compile.lettuceCore) ++ testing
}