Skip to content

Commit

Permalink
Use sbt-dynver (close #233)
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanunlu committed Nov 1, 2021
1 parent baa93e4 commit 04519b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
lazy val root = project.in(file("."))
.settings(
name := "snowplow-s3-loader",
version := "2.0.0",
description := "Load the contents of a Kinesis stream topic to S3"
)
.settings(BuildSettings.basicSettings)
Expand Down
7 changes: 6 additions & 1 deletion project/BuildSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@ import scoverage.ScoverageKeys._
// Scalafmt plugin
import org.scalafmt.sbt.ScalafmtPlugin.autoImport._

// dynver plugin
import sbtdynver.DynVerPlugin.autoImport._

object BuildSettings {

// Basic settings for our app
lazy val basicSettings = Seq(
organization := "com.snowplowanalytics",
scalaVersion := "2.13.6",
resolvers ++= Dependencies.resolvers
resolvers ++= Dependencies.resolvers,
ThisBuild / dynverVTagPrefix := false,
ThisBuild / dynverSeparator := "-"
)

/** Add example config for integration tests */
Expand Down
3 changes: 2 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.8.1")
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.7")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.7")
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")

0 comments on commit 04519b7

Please sign in to comment.