-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
33 lines (25 loc) · 885 Bytes
/
build.sbt
File metadata and controls
33 lines (25 loc) · 885 Bytes
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
val Http4sVersion = "0.23.30"
val CloudFunctionsVersion = "1.1.4"
val ScalaTestVersion = "3.2.19"
organization := "de.killaitis"
organizationName := "Andreas Killaitis"
organizationHomepage := Some(url("http://www.github.com/killaitis/"))
name := "http4s-cloud-functions"
version := {
val Tag = "refs/tags/(.*)".r
sys.env.get("CI_VERSION")
.collect { case Tag(tag) => tag.stripPrefix("v") }
.getOrElse("0.0.1-SNAPSHOT")
}
versionScheme := Some("semver-spec")
scalaVersion := "2.13.16"
crossScalaVersions := Seq(scalaVersion.value, "3.3.4")
libraryDependencies ++= Seq(
// Google Cloud Platform
"com.google.cloud.functions" % "functions-framework-api" % CloudFunctionsVersion,
// Http4s
"org.http4s" %% "http4s-dsl" % Http4sVersion,
"org.http4s" %% "http4s-server" % Http4sVersion,
// Testing
"org.scalatest" %% "scalatest" % ScalaTestVersion % Test
)