2017-08-23 18:43:12 -06:00
|
|
|
import com.typesafe.sbt.packager.Keys.scriptClasspath
|
|
|
|
|
|
|
|
import BuildSettings._
|
|
|
|
import Dependencies._
|
|
|
|
|
2017-09-09 09:01:35 -06:00
|
|
|
lazy val root = Project("lila", file("."))
|
2019-12-19 21:49:44 -07:00
|
|
|
.enablePlugins(PlayScala, if (useEpoll) PlayNettyServer else PlayAkkaHttpServer)
|
|
|
|
.disablePlugins(if (useEpoll) PlayAkkaHttpServer else PlayNettyServer)
|
2017-09-09 09:01:35 -06:00
|
|
|
.dependsOn(api)
|
|
|
|
.aggregate(api)
|
2020-07-07 03:24:08 -06:00
|
|
|
.settings(buildSettings)
|
2017-08-23 18:47:35 -06:00
|
|
|
|
|
|
|
// shorter prod classpath
|
|
|
|
scriptClasspath := Seq("*")
|
2020-01-05 08:47:14 -07:00
|
|
|
maintainer := "contact@lichess.org"
|
2021-04-09 01:15:28 -06:00
|
|
|
Compile / resourceDirectory := baseDirectory.value / "conf"
|
2019-12-12 22:03:38 -07:00
|
|
|
|
|
|
|
// format: off
|
2020-08-07 09:51:07 -06:00
|
|
|
libraryDependencies ++= akka.bundle ++ playWs.bundle ++ Seq(
|
2020-08-07 08:22:26 -06:00
|
|
|
macwire.macros, macwire.util, play.json, jodaForms,
|
2020-08-11 17:25:04 -06:00
|
|
|
chess, compression, scalalib, hasher,
|
2021-02-07 10:32:43 -07:00
|
|
|
reactivemongo.driver, reactivemongo.kamon, maxmind, prismic, scalatags,
|
2020-03-07 10:37:31 -07:00
|
|
|
kamon.core, kamon.influxdb, kamon.metrics, kamon.prometheus,
|
2021-09-08 01:48:09 -06:00
|
|
|
scaffeine, lettuce, uaparser
|
2020-04-29 08:58:36 -06:00
|
|
|
) ++ {
|
2019-12-28 14:03:33 -07:00
|
|
|
if (useEpoll) Seq(epoll, reactivemongo.epoll)
|
2019-12-19 21:49:44 -07:00
|
|
|
else Seq.empty
|
|
|
|
}
|
2019-12-08 12:02:47 -07:00
|
|
|
|
2017-08-23 18:43:12 -06:00
|
|
|
lazy val modules = Seq(
|
2017-08-25 17:47:08 -06:00
|
|
|
common, db, rating, user, security, hub, socket,
|
2020-01-27 16:14:40 -07:00
|
|
|
msg, notifyModule, i18n, game, bookmark, search,
|
2017-08-23 18:43:12 -06:00
|
|
|
gameSearch, timeline, forum, forumSearch, team, teamSearch,
|
2019-09-15 04:34:18 -06:00
|
|
|
analyse, mod, round, pool, lobby, setup,
|
2019-07-15 03:57:45 -06:00
|
|
|
importer, tournament, simul, relation, report, pref,
|
2019-03-26 01:07:41 -06:00
|
|
|
evaluation, chat, puzzle, tv, coordinate, blog,
|
2021-05-27 03:04:06 -06:00
|
|
|
history, video, shutup, push, appeal, mailer,
|
2021-02-18 02:30:01 -07:00
|
|
|
playban, insight, perfStat, irc, quote, challenge,
|
2017-08-23 18:43:12 -06:00
|
|
|
study, studySearch, fishnet, explorer, learn, plan,
|
|
|
|
event, coach, practice, evalCache, irwin,
|
2021-08-29 03:03:02 -06:00
|
|
|
activity, relay, streamer, bot, clas, swiss, storm, racer,
|
|
|
|
ublog
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
lazy val moduleRefs = modules map projectToRef
|
2020-08-16 07:27:35 -06:00
|
|
|
lazy val moduleCPDeps = moduleRefs map { sbt.ClasspathDependency(_, None) }
|
2017-08-23 18:43:12 -06:00
|
|
|
|
2019-12-07 21:02:59 -07:00
|
|
|
lazy val api = module("api",
|
2019-12-07 21:03:58 -07:00
|
|
|
moduleCPDeps,
|
2020-10-03 06:44:40 -06:00
|
|
|
Seq(play.api, play.json, hasher, kamon.core, kamon.influxdb, lettuce, specs2) ++ reactivemongo.bundle
|
2019-12-07 21:02:59 -07:00
|
|
|
).settings(
|
2021-04-09 01:15:28 -06:00
|
|
|
Runtime / aggregate := false,
|
|
|
|
Test / aggregate := true // Test <: Runtime
|
2019-12-07 21:02:59 -07:00
|
|
|
) aggregate (moduleRefs: _*)
|
|
|
|
|
2020-08-07 09:51:07 -06:00
|
|
|
lazy val i18n = smallModule("i18n",
|
2020-02-13 11:20:19 -07:00
|
|
|
Seq(common, db, hub),
|
2020-08-06 07:24:22 -06:00
|
|
|
Seq(scalatags, specs2)
|
2019-12-07 21:02:59 -07:00
|
|
|
).settings(
|
2021-04-09 01:15:28 -06:00
|
|
|
Compile / sourceGenerators += Def.task {
|
2019-12-07 21:02:59 -07:00
|
|
|
MessageCompiler(
|
|
|
|
sourceDir = new File("translation/source"),
|
|
|
|
destDir = new File("translation/dest"),
|
2021-09-01 01:26:15 -06:00
|
|
|
dbs = "site arena emails learn activity coordinates study class contact patron coach broadcast streamer tfa settings preferences team perfStat search tourname faq lag swiss puzzle puzzleTheme challenge storm ublog".split(' ').toList,
|
2021-04-09 01:15:28 -06:00
|
|
|
compileTo = (Compile / sourceManaged).value
|
2019-12-07 21:02:59 -07:00
|
|
|
)
|
2020-04-29 08:58:36 -06:00
|
|
|
}.taskValue
|
2019-12-07 21:02:59 -07:00
|
|
|
)
|
2017-08-23 18:43:12 -06:00
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val puzzle = module("puzzle",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, memo, hub, history, db, user, rating, pref, tree, game),
|
|
|
|
reactivemongo.bundle
|
2019-11-28 11:20:59 -07:00
|
|
|
)
|
|
|
|
|
2021-01-22 11:37:49 -07:00
|
|
|
lazy val storm = module("storm",
|
2021-03-03 12:11:22 -07:00
|
|
|
Seq(common, memo, hub, puzzle, db, user, pref, tree),
|
|
|
|
reactivemongo.bundle
|
|
|
|
)
|
|
|
|
|
|
|
|
lazy val racer = module("racer",
|
2021-03-04 12:27:44 -07:00
|
|
|
Seq(common, memo, hub, puzzle, storm, db, user, pref, tree, room),
|
2021-01-22 11:37:49 -07:00
|
|
|
reactivemongo.bundle
|
|
|
|
)
|
|
|
|
|
2020-08-06 07:24:22 -06:00
|
|
|
lazy val quote = smallModule("quote",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(),
|
2020-08-06 07:24:22 -06:00
|
|
|
Seq(play.json)
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-07 09:51:07 -06:00
|
|
|
lazy val video = smallModule("video",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, memo, hub, db, user),
|
2020-08-12 09:23:37 -06:00
|
|
|
Seq(autoconfig) ++ reactivemongo.bundle ++ macwire.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val coach = module("coach",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, db, user, security, notifyModule),
|
|
|
|
reactivemongo.bundle
|
2017-12-27 21:56:36 -07:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val streamer = module("streamer",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, db, user, notifyModule),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-07 09:51:07 -06:00
|
|
|
lazy val coordinate = smallModule("coordinate",
|
2020-04-24 15:20:36 -06:00
|
|
|
Seq(common, db, user),
|
2020-08-12 09:23:37 -06:00
|
|
|
Seq(autoconfig) ++ reactivemongo.bundle ++ macwire.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val blog = module("blog",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, memo, timeline),
|
2020-10-12 10:08:43 -06:00
|
|
|
Seq(prismic, specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2021-08-29 03:03:02 -06:00
|
|
|
lazy val ublog = module("ublog",
|
2021-09-05 03:09:32 -06:00
|
|
|
Seq(common, memo, timeline, irc),
|
2021-09-07 06:46:11 -06:00
|
|
|
Seq(specs2, bloomFilter) ++ reactivemongo.bundle
|
2021-08-29 03:03:02 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val evaluation = module("evaluation",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, db, user, game, analyse),
|
2019-12-14 07:51:39 -07:00
|
|
|
Seq(specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-07 09:51:07 -06:00
|
|
|
lazy val common = smallModule("common",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(),
|
2020-08-07 09:51:07 -06:00
|
|
|
Seq(
|
2021-03-19 09:31:50 -06:00
|
|
|
scalalib, scalaUri, chess, autoconfig,
|
2020-10-12 10:08:43 -06:00
|
|
|
kamon.core, scalatags, jodaForms, scaffeine, specs2, apacheText
|
|
|
|
) ++ reactivemongo.bundle ++ flexmark.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val rating = module("rating",
|
2020-02-13 11:20:19 -07:00
|
|
|
Seq(common, db, memo, i18n),
|
2019-12-07 21:03:58 -07:00
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val perfStat = module("perfStat",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, user, game, rating),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val history = module("history",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, memo, game, user),
|
|
|
|
Seq(scalatags) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-07 09:51:07 -06:00
|
|
|
lazy val db = smallModule("db",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common),
|
2021-09-15 00:37:10 -06:00
|
|
|
Seq(hasher) ++ macwire.bundle ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-07 09:51:07 -06:00
|
|
|
lazy val memo = smallModule("memo",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db),
|
2021-08-30 04:32:06 -06:00
|
|
|
Seq(scaffeine, autoconfig, scalatest, akka.testkit) ++ reactivemongo.bundle ++ macwire.bundle ++ playWs.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-07 09:59:26 -06:00
|
|
|
lazy val search = smallModule("search",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub),
|
2020-08-12 09:23:37 -06:00
|
|
|
playWs.bundle ++ Seq(autoconfig) ++ macwire.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val chat = module("chat",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, user, security, i18n, socket),
|
|
|
|
Seq(scalatags) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val room = module("room",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, socket, chat),
|
|
|
|
Seq(lettuce) ++ reactivemongo.bundle
|
2019-10-18 13:45:47 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val timeline = module("timeline",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, game, user, hub, security, relation),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val event = module("event",
|
2020-02-13 11:20:19 -07:00
|
|
|
Seq(common, db, memo, i18n, user),
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(scalatags) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val mod = module("mod",
|
2021-02-18 02:30:01 -07:00
|
|
|
Seq(common, db, user, hub, security, tournament, simul, game, analyse, evaluation, report, notifyModule, history, perfStat, irc),
|
2019-12-07 21:03:58 -07:00
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-07 09:51:07 -06:00
|
|
|
lazy val user = smallModule("user",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, memo, db, hub, rating, socket),
|
2020-10-03 08:31:08 -06:00
|
|
|
Seq(hasher, specs2, autoconfig, scalaUri) ++ playWs.bundle ++ reactivemongo.bundle ++ macwire.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val game = module("game",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, memo, db, hub, user, chat),
|
2019-12-14 07:51:39 -07:00
|
|
|
Seq(compression, specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val gameSearch = module("gameSearch",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, search, game),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val tv = module("tv",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, hub, socket, game, round, user),
|
|
|
|
Seq(hasher) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val bot = module("bot",
|
2021-01-13 02:10:35 -07:00
|
|
|
Seq(common, db, hub, game, user, challenge, chat, socket),
|
2019-12-07 21:03:58 -07:00
|
|
|
reactivemongo.bundle
|
2018-04-15 15:26:36 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val analyse = module("analyse",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, game, user, notifyModule, evalCache),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val round = module("round",
|
2021-02-18 02:30:01 -07:00
|
|
|
Seq(common, db, memo, hub, socket, game, user, i18n, fishnet, pref, chat, history, playban, room, irc),
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(scalatags, hasher, kamon.core, lettuce) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val pool = module("pool",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, game, user, playban),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val activity = module("activity",
|
2021-08-31 05:10:05 -06:00
|
|
|
Seq(common, game, analyse, user, forum, study, pool, puzzle, tournament, swiss, practice, team, ublog),
|
2019-12-07 21:03:58 -07:00
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val lobby = module("lobby",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, memo, hub, socket, game, user, round, timeline, relation, playban, security, pool),
|
|
|
|
Seq(lettuce) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val setup = module("setup",
|
2021-02-01 04:08:39 -07:00
|
|
|
Seq(common, db, memo, hub, socket, game, user, lobby, pref, relation, oauth),
|
2019-12-07 21:03:58 -07:00
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val importer = module("importer",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, game, round),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val insight = module("insight",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, game, user, analyse, relation, pref, socket, round, security),
|
|
|
|
Seq(scalatags) ++ reactivemongo.bundle
|
2019-12-07 20:23:31 -07:00
|
|
|
)
|
2017-08-23 18:43:12 -06:00
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val tournament = module("tournament",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, socket, game, round, security, chat, memo, quote, history, notifyModule, i18n, room),
|
2020-08-11 02:29:58 -06:00
|
|
|
Seq(scalatags, lettuce, specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-04-28 19:22:38 -06:00
|
|
|
lazy val swiss = module("swiss",
|
2020-04-29 12:57:13 -06:00
|
|
|
Seq(common, hub, socket, game, round, security, chat, memo, quote, i18n, room),
|
2020-04-28 19:22:38 -06:00
|
|
|
Seq(scalatags, lettuce) ++ reactivemongo.bundle
|
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val simul = module("simul",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, socket, game, round, chat, memo, quote, room),
|
|
|
|
Seq(lettuce) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val fishnet = module("fishnet",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, game, analyse, db, evalCache),
|
2019-12-14 07:51:39 -07:00
|
|
|
Seq(lettuce, specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val irwin = module("irwin",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, user, game, tournament, mod),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-12 09:23:37 -06:00
|
|
|
lazy val oauth = smallModule("oauth",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, user),
|
2020-08-12 09:23:37 -06:00
|
|
|
Seq(autoconfig) ++ reactivemongo.bundle ++ macwire.bundle
|
2018-02-14 07:49:08 -07:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val security = module("security",
|
2021-05-27 03:04:06 -06:00
|
|
|
Seq(common, hub, db, user, i18n, irc, oauth, mailer),
|
|
|
|
Seq(maxmind, hasher, uaparser, specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val shutup = module("shutup",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, hub, game, relation),
|
2019-12-14 07:51:39 -07:00
|
|
|
Seq(specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val challenge = module("challenge",
|
2021-02-08 13:03:31 -07:00
|
|
|
Seq(common, db, hub, setup, game, relation, pref, socket, room, msg),
|
2020-09-08 02:51:58 -06:00
|
|
|
Seq(scalatags, lettuce, specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val study = module("study",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, hub, socket, game, round, importer, notifyModule, relation, evalCache, explorer, i18n, room),
|
2019-12-14 07:51:39 -07:00
|
|
|
Seq(scalatags, lettuce, specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val relay = module("relay",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, study),
|
2020-10-12 10:08:43 -06:00
|
|
|
Seq(scalaUri) ++ reactivemongo.bundle
|
2017-09-19 20:24:59 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val studySearch = module("studySearch",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, study, search),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-12 09:23:37 -06:00
|
|
|
lazy val learn = smallModule("learn",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, user),
|
2020-08-12 09:23:37 -06:00
|
|
|
Seq(autoconfig) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val evalCache = module("evalCache",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, user, security, socket, tree),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val practice = module("practice",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, memo, user, study),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val playban = module("playban",
|
2020-01-26 22:07:27 -07:00
|
|
|
Seq(common, db, game, msg, chat),
|
2019-12-07 21:03:58 -07:00
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val push = module("push",
|
2020-01-27 16:14:40 -07:00
|
|
|
Seq(common, db, user, game, challenge, msg),
|
2019-12-14 07:51:39 -07:00
|
|
|
Seq(googleOAuth) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2021-02-18 02:30:01 -07:00
|
|
|
lazy val irc = smallModule("irc",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, user),
|
2021-06-10 03:03:47 -06:00
|
|
|
Seq(autoconfig) ++ reactivemongo.bundle ++ macwire.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2021-05-27 03:04:06 -06:00
|
|
|
lazy val mailer = module("mailer",
|
|
|
|
Seq(common, user),
|
|
|
|
reactivemongo.bundle ++ Seq(scalatags, hasher, play.mailer)
|
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val plan = module("plan",
|
2021-05-27 02:34:23 -06:00
|
|
|
Seq(common, user),
|
2021-06-03 03:01:29 -06:00
|
|
|
Seq(specs2) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val relation = module("relation",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, memo, hub, user, game, pref),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val pref = module("pref",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, user),
|
2020-08-12 09:23:37 -06:00
|
|
|
Seq(macwire.util) ++ reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-01-24 13:10:07 -07:00
|
|
|
lazy val msg = module("msg",
|
2020-01-27 07:52:23 -07:00
|
|
|
Seq(common, db, user, hub, relation, security, shutup, notifyModule, chat),
|
2020-01-24 13:10:07 -07:00
|
|
|
reactivemongo.bundle
|
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val forum = module("forum",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, user, security, hub, mod, notifyModule),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val forumSearch = module("forumSearch",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, forum, search),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val team = module("team",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, memo, db, user, forum, security, hub, notifyModule),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val teamSearch = module("teamSearch",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, team, search),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-01-16 07:40:33 -07:00
|
|
|
lazy val clas = module("clas",
|
2020-01-27 15:03:57 -07:00
|
|
|
Seq(common, memo, db, user, security, msg, history, puzzle),
|
2021-02-10 14:46:41 -07:00
|
|
|
reactivemongo.bundle ++ Seq(bloomFilter)
|
2020-01-16 07:40:33 -07:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val bookmark = module("bookmark",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, memo, db, hub, user, game),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val report = module("report",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, user, game, security, playban),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-07-25 11:50:11 -06:00
|
|
|
lazy val appeal = module("appeal",
|
|
|
|
Seq(common, db, user),
|
|
|
|
reactivemongo.bundle
|
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val explorer = module("explorer",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, game, importer),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2019-12-07 20:23:31 -07:00
|
|
|
lazy val notifyModule = module("notify",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, db, game, user, hub, relation),
|
|
|
|
reactivemongo.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-12 09:23:37 -06:00
|
|
|
lazy val tree = smallModule("tree",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common),
|
|
|
|
Seq()
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-12 09:23:37 -06:00
|
|
|
lazy val socket = smallModule("socket",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common, hub, memo, tree),
|
2020-08-12 09:23:37 -06:00
|
|
|
Seq(lettuce) ++ macwire.bundle
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|
|
|
|
|
2020-08-07 09:59:26 -06:00
|
|
|
lazy val hub = smallModule("hub",
|
2019-12-07 21:03:58 -07:00
|
|
|
Seq(common),
|
2020-08-08 01:25:33 -06:00
|
|
|
Seq(scaffeine, macwire.util)
|
2017-08-23 18:43:12 -06:00
|
|
|
)
|