bigbluebutton-Github/bbb-common-message/project/Dependencies.scala
2022-02-25 04:39:48 +00:00

69 lines
1.9 KiB
Scala

package org.bigbluebutton.build
import sbt._
import Keys._
object Dependencies {
object Versions {
// Scala
val scala = "2.13.4"
val junit = "4.12"
val junitInterface = "0.11"
val scalactic = "3.0.8"
// Libraries
val akkaVersion = "2.6.17"
val gson = "2.8.9"
val jackson = "2.13.0"
val sl4j = "1.7.32"
val pool = "2.11.1"
val codec = "1.15"
// Redis
val lettuce = "6.1.5.RELEASE"
// Test
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
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
val sl4jApi = "org.slf4j" % "slf4j-api" % Versions.sl4j
val apachePool2 = "org.apache.commons" % "commons-pool2" % Versions.pool
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"
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,
Compile.commonsCodec,
Compile.apachePool2,
Compile.lettuceCore) ++ testing
}