2018-11-09 17:33:45 +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-09 17:33:45 +08:00
|
|
|
|
|
|
|
// Libraries
|
|
|
|
val netty = "3.2.10.Final"
|
2022-03-11 04:51:05 +08:00
|
|
|
val logback = "1.2.10"
|
2018-11-09 17:33:45 +08:00
|
|
|
|
|
|
|
// Test
|
|
|
|
val junit = "4.12"
|
|
|
|
}
|
2022-03-11 04:51:05 +08:00
|
|
|
|
2018-11-09 17:33:45 +08:00
|
|
|
object Compile {
|
|
|
|
val scalaLibrary = "org.scala-lang" % "scala-library" % Versions.scala
|
|
|
|
val scalaCompiler = "org.scala-lang" % "scala-compiler" % Versions.scala
|
|
|
|
|
|
|
|
val netty = "org.jboss.netty" % "netty" % Versions.netty
|
|
|
|
val logback = "ch.qos.logback" % "logback-classic" % Versions.logback
|
|
|
|
}
|
|
|
|
|
|
|
|
object Test {
|
|
|
|
val junit = "junit" % "junit" % Versions.junit % "test"
|
|
|
|
}
|
|
|
|
|
|
|
|
val testing = Seq(
|
|
|
|
Test.junit)
|
|
|
|
|
|
|
|
val runtime = Seq(
|
|
|
|
Compile.scalaLibrary,
|
|
|
|
Compile.scalaCompiler,
|
|
|
|
Compile.netty,
|
|
|
|
Compile.logback) ++ testing
|
|
|
|
}
|