-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
62 lines (56 loc) · 3.48 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
scalaVersion := "3.4.2"
lazy val circeVersion = "0.14.8"
lazy val pureconfigVersion = "0.17.7"
lazy val redis4CatsVersion = "1.7.1"
lazy val sttpClient3Version = "3.9.7"
lazy val sttpClient4Version = "4.0.0-M16"
lazy val langchain4jVersion = "0.30.0"
lazy val xefVersion = "0.0.3"
lazy val root = (project in file("."))
.settings(
settings,
libraryDependencies ++= Seq(
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"com.github.pureconfig" %% "pureconfig-core" % pureconfigVersion,
"com.github.pureconfig" %% "pureconfig-cats-effect" % pureconfigVersion,
"dev.profunktor" %% "redis4cats-effects" % redis4CatsVersion,
"dev.profunktor" %% "redis4cats-log4cats" % redis4CatsVersion,
"com.softwaremill.sttp.client3" %% "core" % sttpClient3Version,
"com.softwaremill.sttp.client3" %% "circe" % sttpClient3Version,
"com.softwaremill.sttp.client3" %% "async-http-client-backend-cats" % sttpClient3Version,
"com.softwaremill.sttp.client4" %% "core" % sttpClient4Version,
"de.brendamour" % "jpasskit" % "0.4.2",
"com.outr" %% "scribe" % "3.15.0",
"com.lihaoyi" %% "upickle" % "3.3.1",
"dev.langchain4j" % "langchain4j" % langchain4jVersion,
"dev.langchain4j" % "langchain4j-hugging-face" % langchain4jVersion,
"com.xebia" %% "xef-scala" % xefVersion,
"com.xebia" % "xef-pdf" % xefVersion,
"com.xebia" % "xef-reasoning-jvm" % xefVersion,
"com.xebia" % "xef-openai" % xefVersion,
"ch.qos.logback" % "logback-classic" % "1.5.6",
"org.apache.logging.log4j" % "log4j-core" % "2.23.1",
"org.typelevel" %% "log4cats-slf4j" % "2.7.0",
"co.fs2" %% "fs2-core" % "3.10.2",
"org.typelevel" %% "munit-cats-effect" % "2.0.0" % "test"
)
)
// Settings
lazy val compilerOptions = Seq(
"-Xmax-inlines",
"50",
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
"-feature", // Emit warning and location for usages of features that should be imported explicitly.
"-language:existentials", // Existential types (besides wildcard types) can be written and inferred
"-language:higherKinds", // Allow higher-kinded types
"-language:implicitConversions", // Allow definition of implicit functions called views
"-language:postfixOps", // Allow postfix operator notation, such as 1 to 10 toList (not recommended)
"-deprecation"
)
lazy val commonSettings = Seq(
scalacOptions ++= compilerOptions
)
lazy val scalafixSettings = Seq(semanticdbEnabled := true)
lazy val settings = commonSettings ++ scalafixSettings