-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
66 lines (54 loc) · 2.04 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
63
64
65
66
name := "Datapack Linter"
ThisBuild / version := "2.0.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.4.0"
enablePlugins(ScalaJSPlugin)
enablePlugins(ScalaJSBundlerPlugin)
enablePlugins(ScalablyTypedConverterPlugin)
Compile / fastOptJS / webpackConfigFile := Some(baseDirectory.value / "webpack.config-fast.js")
Compile / fullOptJS / webpackConfigFile := Some(baseDirectory.value / "webpack.config-full.js")
Compile / npmDependencies ++= Seq(
"@actions/cache" -> "3.2.2",
"@actions/core" -> "1.10.1",
"@actions/github" -> "6.0.0",
"@spgoding/datapack-language-server" -> "3.4.19",
"jsonc-parser" -> "3.2.0",
"@octokit/webhooks-types" -> "7.3.1",
"object-hash" -> "3.0.0",
"filter-console" -> "1.0.0"
)
Compile / npmDevDependencies ++= Seq(
"@types/node" -> "16.18.40",
"@types/object-hash" -> "3.0.2",
"string-replace-loader" -> "3.1.0"
)
useYarn := true
webpack / version := "5.88.2"
scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule) }
scalaJSUseMainModuleInitializer := true
semanticdbEnabled := true
semanticdbVersion := scalafixSemanticdb.revision
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-unchecked",
"-Ykind-projector:underscores",
"-no-indent",
"-Wunused:all",
"-source:future"
)
javaOptions ++= Seq(
"-Xmx4G",
"-XX:+UseG1GC"
)
resolvers ++= Resolver.sonatypeOssRepos("snapshots")
val http4sVersion = "0.23.23"
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-effect" % "3.4.8",
"org.typelevel" %%% "cats-mtl" % "1.3.0",
"org.http4s" %%% "http4s-core" % http4sVersion,
"org.http4s" %%% "http4s-client" % http4sVersion,
"org.http4s" %%% "http4s-dsl" % http4sVersion,
"org.http4s" %%% "http4s-circe" % http4sVersion,
"org.http4s" %%% "http4s-ember-client" % http4sVersion,
"io.circe" %%% "circe-generic" % "0.14.6"
)