forked from gemini-hlsw/lucuma-graphql-routes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
56 lines (51 loc) · 1.74 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
val clueVersion = "0.18.6"
val fs2Version = "3.0.6"
val grackleVersion = "0.1.14"
val http4sVersion = "0.23.6"
val kindProjectorVersion = "0.13.2"
val log4catsVersion = "2.1.1"
val sangriaCirceVersion = "1.3.2"
val sangriaVersion = "2.1.3"
inThisBuild(Seq(
homepage := Some(url("https://github.com/gemini-hlsw")),
addCompilerPlugin(("org.typelevel" % "kind-projector" % kindProjectorVersion).cross(CrossVersion.full)),
) ++ lucumaPublishSettings)
publish / skip := true
lazy val core = project
.in(file("modules/core"))
.enablePlugins(AutomateHeaderPlugin)
.settings(
name := "lucuma-graphql-routes-core",
libraryDependencies ++= Seq(
"edu.gemini" %% "clue-model" % clueVersion,
"org.http4s" %% "http4s-server" % http4sVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
"org.typelevel" %% "log4cats-core" % log4catsVersion,
),
)
lazy val sangria = project
.in(file("modules/sangria"))
.dependsOn(core)
.enablePlugins(AutomateHeaderPlugin)
.settings(
name := "lucuma-graphql-routes-sangria",
libraryDependencies ++= Seq(
"org.sangria-graphql" %% "sangria" % sangriaVersion,
"org.sangria-graphql" %% "sangria-circe" % sangriaCirceVersion,
),
scalacOptions ++= Seq(
"-Ymacro-annotations",
"-Ywarn-macros:after"
),
)
lazy val grackle = project
.in(file("modules/grackle"))
.dependsOn(core)
.enablePlugins(AutomateHeaderPlugin)
.settings(
name := "lucuma-graphql-routes-grackle",
libraryDependencies ++= Seq(
"edu.gemini" %% "gsp-graphql-core" % grackleVersion,
),
)