forked from BenFradet/gsheets4s
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
70 lines (62 loc) · 2.15 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
67
68
69
70
name := "ctp-gsheets4s"
organization := "com.itv"
lazy val compilerOptions = Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:existentials",
"-language:higherKinds",
"-unchecked",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
)
lazy val baseSettings = Seq(
scalacOptions ++= compilerOptions,
scalacOptions in (Compile, console) ~= {
_.filterNot(Set("-Ywarn-unused-import"))
},
scalacOptions in (Test, console) ~= {
_.filterNot(Set("-Ywarn-unused-import"))
},
scalaVersion := "2.13.8",
)
lazy val catsVersion = "2.7.0"
lazy val catsEffectVersion = "3.3.10"
lazy val circeVersion = "0.14.1"
lazy val refinedVersion = "0.10.1"
lazy val attoVersion = "0.9.5"
lazy val http4sVersion = "0.23.12"
lazy val scalacheckVersion = "1.15.4"
lazy val scalatestVersion = "3.2.11"
lazy val gsheets4s = project.in(file("."))
.settings(name := "gsheets4s")
.settings(baseSettings)
.settings(
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "cats-effect" % catsEffectVersion,
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5",
"eu.timepit" %% "refined" % refinedVersion
) ++ Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser"
).map(_ % circeVersion) ++ Seq(
"org.tpolecat" %% "atto-core",
"org.tpolecat" %% "atto-refined"
).map(_ % attoVersion) ++ Seq(
"org.http4s" %% "http4s-dsl",
"org.http4s" %% "http4s-circe",
"org.http4s" %% "http4s-client"
).map(_ % http4sVersion) ++ Seq(
"org.scalatest" %% "scalatest" % scalatestVersion,
"org.scalacheck" %% "scalacheck" % scalacheckVersion,
"eu.timepit" %% "refined-scalacheck" % refinedVersion
).map(_ % "test")
)
gitVersioningSnapshotLowerBound in ThisBuild := "0.4.0"
resolvers += "Artifactory Realm" at "https://itvrepos.jfrog.io/itvrepos/fp-scala-libs/"
credentials += Credentials(Path.userHome / ".ivy2" / "fp-scala-libs.credentials")
publishArtifact := true
publishArtifact in Test := false
publishTo := Some("Artifactory Realm" at "https://itvrepos.jfrog.io/itvrepos/fp-scala-libs/")