-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
48 lines (43 loc) · 1.42 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
val finagleVersion = "20.12.0"
val mysqlConnectorVersion = "8.0.21"
val circeVersion = "0.13.0"
val catsVersion = "2.1.0"
val shapelessVersion = "2.3.3"
val scalaTestVersion = "3.2.2"
val testcontainersVersion = "1.14.3"
val testcontainersScalaVersion = "0.38.9"
lazy val commonSettings = Seq(
scalaVersion := "2.12.4",
scalacOptions ++= Seq(
"-deprecation",
"-language:implicitConversions",
"-encoding", "utf-8",
"-explaintypes",
"-feature",
"-Ywarn-unused:imports",
"-Ywarn-infer-any",
"-Ypartial-unification"
),
scalacOptions in (Compile, console) ~= (_.filterNot(_ == "-Ywarn-unused:imports"))
)
lazy val libraries = Seq(
"com.twitter" %% "finagle-mysql" % finagleVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"com.chuusai" %% "shapeless" % shapelessVersion,
"org.typelevel" %% "cats-core" % catsVersion,
"org.scalatest" %%"scalatest" % scalaTestVersion % Test,
"org.testcontainers" % "mysql" % testcontainersVersion % Test,
"com.dimafeng" %% "testcontainers-scala" % testcontainersScalaVersion % Test,
"mysql" % "mysql-connector-java" % mysqlConnectorVersion % Test
)
lazy val root = (project in file("."))
.settings(
commonSettings,
name := "finagle-mysql-shapes",
organization := "com.linecorp",
version := "0.4.0-SNAPSHOT",
publishMavenStyle := true,
libraryDependencies ++= libraries,
scalafixSettings
)