scala-sttp.build.sbt.mustache Maven / Gradle / Ivy
version := "{{artifactVersion}}"
name := "{{artifactId}}"
organization := "{{groupId}}"
scalaVersion := "2.13.5"
crossScalaVersions := Seq(scalaVersion.value, "2.12.13")
libraryDependencies ++= Seq(
"com.softwaremill.sttp.client" %% "core" % "{{sttpClientVersion}}",
{{#joda}}
"joda-time" % "joda-time" % "{{jodaTimeVersion}}",
{{/joda}}
{{#json4s}}
"com.softwaremill.sttp.client" %% "json4s" % "{{sttpClientVersion}}",
"org.json4s" %% "json4s-jackson" % "{{json4sVersion}}"
{{/json4s}}
{{#circe}}
"com.softwaremill.sttp.client" %% "circe" % "{{sttpClientVersion}}",
"io.circe" %% "circe-core" % "{{circeVersion}}",
"io.circe" %% "circe-generic" % "{{circeVersion}}",
"io.circe" %% "circe-parser" % "{{circeVersion}}"
{{/circe}}
)
scalacOptions := Seq(
"-unchecked",
"-deprecation",
"-feature"
)