-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
40 lines (32 loc) · 1.28 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
name := "scala-opencage-geocoder"
organization := "com.opencagedata"
version := "1.1.1"
lazy val scala_2_12 = "2.12.8"
lazy val scala_2_11 = "2.11.8"
scalaVersion := scala_2_12
crossScalaVersions := List(scala_2_11, scala_2_12)
scalacOptions += "-feature"
IntegrationTest / parallelExecution := false
lazy val root = (project in file("."))
.configs(IntegrationTest)
.settings(
Defaults.itSettings,
libraryDependencies ++= {
val circeVersion = "0.11.0"
val sttpVersion = "1.2.3"
Seq(
"com.softwaremill.sttp" %% "core" % sttpVersion,
"com.softwaremill.sttp" %% "async-http-client-backend-future" % sttpVersion,
"com.softwaremill.sttp" %% "circe" % sttpVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-generic-extras" % circeVersion,
"org.scalatest" %% "scalatest" % "3.0.5" % "test,it",
"com.github.tomakehurst" % "wiremock" % "2.20.0" % "test,it",
"org.apache.commons" % "commons-lang3" % "3.7" % "test"
)
}
)
publishTo := sonatypePublishTo.value
credentials += Credentials(Path.userHome / ".sbt" / "opencage_sonatype_credentials")
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)