A collection of opinionated plugins to minimize boilerplate when setting up new Mediative SBT projects.
To use the plugins add the following to project/plugins.sbt
:
resolvers += Resolver.bintrayIvyRepo("mediative", "sbt-plugins")
addSbtPlugin("com.mediative.sbt" % "sbt-mediative-core" % "0.5.8")
addSbtPlugin("com.mediative.sbt" % "sbt-mediative-oss" % "0.5.8")
The sbt-mediative-oss
plugin provides the command bootstrap-project
to
help quickly setup a new project:
root> bootstrap-project
[info] Writing LICENSE file...
[info] Writing CONTRIBUTING.md file...
To build the plugins for use locally run the following commands from the project root:
$ sbt publishLocal
See CONTRIBUTING.md for how to contribute.
To release version x.y.z
run:
$ sbt -Dversion=x.y.z release
This will take care of running tests, tagging and publishing JARs and API docs.
Copyright 2017 Mediative
Licensed under the Apache License, Version 2.0. See LICENSE file for terms and conditions for use, reproduction, and distribution.