2018-11-06 21:43:03 +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 21:43:03 +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 21:43:03 +08:00
|
|
|
|
|
|
|
// Libraries
|
2021-12-05 01:50:47 +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-05 01:50:47 +08:00
|
|
|
val freemarker = "2.3.31"
|
|
|
|
val apacheHttp = "4.5.13"
|
2018-11-06 21:43:03 +08:00
|
|
|
val apacheHttpAsync = "4.1.4"
|
|
|
|
|
|
|
|
// Office and document conversion
|
2021-12-05 01:50:47 +08:00
|
|
|
val apachePoi = "5.1.0"
|
2023-01-26 03:31:48 +08:00
|
|
|
val nuProcess = "2.0.6"
|
2023-06-06 18:08:14 +08:00
|
|
|
val tika = "2.8.0"
|
2018-11-06 21:43:03 +08:00
|
|
|
|
2019-01-10 04:04:30 +08:00
|
|
|
// Server
|
2021-12-05 01:50:47 +08:00
|
|
|
val servlet = "4.0.1"
|
2021-05-31 20:59:15 +08:00
|
|
|
|
2018-11-06 21:43:03 +08:00
|
|
|
// Apache Commons
|
2021-12-05 01:50:47 +08:00
|
|
|
val lang = "3.12.0"
|
|
|
|
val io = "2.11.0"
|
|
|
|
val pool = "2.11.1"
|
2022-10-20 21:09:59 +08:00
|
|
|
val text = "1.10.0"
|
2018-11-06 21:43:03 +08:00
|
|
|
|
|
|
|
// BigBlueButton
|
2022-12-21 00:07:08 +08:00
|
|
|
val bbbCommons = "0.0.22-SNAPSHOT"
|
2018-11-06 21:43:03 +08:00
|
|
|
|
|
|
|
// Test
|
2022-03-11 04:51:05 +08:00
|
|
|
val scalaTest = "3.2.11"
|
2018-11-06 21:43:03 +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
|
|
|
|
val akkaSl4fj = "com.typesafe.akka" % "akka-slf4j_2.13" % Versions.akkaVersion
|
2018-11-06 21:43:03 +08:00
|
|
|
|
|
|
|
val googleGson = "com.google.code.gson" % "gson" % Versions.gson
|
|
|
|
val jacksonModule = "com.fasterxml.jackson.module" %% "jackson-module-scala" % Versions.jackson
|
|
|
|
val jacksonXml = "com.fasterxml.jackson.dataformat" % "jackson-dataformat-xml" % Versions.jackson
|
2020-02-28 17:44:28 +08:00
|
|
|
val freemarker = "org.freemarker" % "freemarker" % Versions.freemarker
|
2018-11-06 21:43:03 +08:00
|
|
|
val apacheHttp = "org.apache.httpcomponents" % "httpclient" % Versions.apacheHttp
|
|
|
|
val apacheHttpAsync = "org.apache.httpcomponents" % "httpasyncclient" % Versions.apacheHttpAsync
|
|
|
|
|
|
|
|
val poiXml = "org.apache.poi" % "poi-ooxml" % Versions.apachePoi
|
|
|
|
val nuProcess = "com.zaxxer" % "nuprocess" % Versions.nuProcess
|
2023-06-06 18:08:14 +08:00
|
|
|
val tika = "org.apache.tika" % "tika-core" % Versions.tika
|
2018-11-06 21:43:03 +08:00
|
|
|
|
2019-01-10 04:04:30 +08:00
|
|
|
val servletApi = "javax.servlet" % "javax.servlet-api" % Versions.servlet
|
2021-05-31 20:59:15 +08:00
|
|
|
|
2018-11-06 21:43:03 +08:00
|
|
|
val apacheLang = "org.apache.commons" % "commons-lang3" % Versions.lang
|
|
|
|
val apacheIo = "commons-io" % "commons-io" % Versions.io
|
|
|
|
val apachePool2 = "org.apache.commons" % "commons-pool2" % Versions.pool
|
2021-05-31 20:59:15 +08:00
|
|
|
val apacheText = "org.apache.commons" % "commons-text" % Versions.text
|
2018-11-06 21:43:03 +08:00
|
|
|
|
2022-02-25 12:39:48 +08:00
|
|
|
val bbbCommons = "org.bigbluebutton" % "bbb-common-message_2.13" % Versions.bbbCommons
|
2018-11-06 21:43:03 +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 21:43:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
val testing = Seq(
|
|
|
|
Test.scalaTest,
|
|
|
|
Test.junit,
|
|
|
|
Test.junitInteface,
|
2018-11-10 03:08:20 +08:00
|
|
|
Test.scalactic)
|
2018-11-06 21:43:03 +08:00
|
|
|
|
|
|
|
val runtime = Seq(
|
|
|
|
Compile.scalaLibrary,
|
|
|
|
Compile.scalaCompiler,
|
|
|
|
Compile.akkaActor,
|
|
|
|
Compile.akkaSl4fj,
|
|
|
|
Compile.googleGson,
|
|
|
|
Compile.jacksonModule,
|
|
|
|
Compile.jacksonXml,
|
2020-02-28 17:44:28 +08:00
|
|
|
Compile.freemarker,
|
2018-11-06 21:43:03 +08:00
|
|
|
Compile.apacheHttp,
|
|
|
|
Compile.apacheHttpAsync,
|
|
|
|
Compile.poiXml,
|
|
|
|
Compile.nuProcess,
|
2023-06-06 18:08:14 +08:00
|
|
|
Compile.tika,
|
2019-01-10 04:04:30 +08:00
|
|
|
Compile.servletApi,
|
2018-11-06 21:43:03 +08:00
|
|
|
Compile.apacheLang,
|
|
|
|
Compile.apacheIo,
|
|
|
|
Compile.apachePool2,
|
2021-05-31 20:59:15 +08:00
|
|
|
Compile.apacheText,
|
2018-12-06 03:21:06 +08:00
|
|
|
Compile.bbbCommons) ++ testing
|
2018-11-06 21:43:03 +08:00
|
|
|
}
|