kciesielski / sbt-softwaremill

A sane set of default build settings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sbt-softwaremill

Build Status Maven Central
A sane set of common build settings.

Usage

First, add the plugin to your project/plugins.sbt file:

addSbtPlugin("com.softwaremill.sbt-softwaremill" % "sbt-softwaremill" % "1.0")

Now you can add smlBuildSettings to any set of build settings:

lazy val commonSettings = Seq(
  // your settings
) ++ smlBuildSettings

If you only want to import some settings, you can use any subset of smlBuildSettings:

    lazy val smlBuildSettings =
      commonSmlBuildSettings ++ // compiler flags
      wartRemoverSettings ++    // warts
      clippyBuildSettings ++    // enable clippy colors
      dependencyUpdatesSettings // check dependency updates on startup (max once per 12h) 

sbt-softwaremill comes with:

  • Coursier
  • Scalafmt
  • sbt-pgp
  • sbt-release
  • sbt-sonatype
  • sbt-travisci
  • scala-clippy
  • sbt-updates
  • sbt-revolver

About

A sane set of default build settings

License:Apache License 2.0


Languages

Language:Scala 100.0%