A [Giter8] template to create an sbt AutoPlugin.
AutoPlugins are the recommended way to create sbt plugins for sbt versions 0.13.5 and up. This template creates a plugin for sbt 1.x.
The original sbt/sbt-autoplugin.g8 template was intended to contain the minimum amount to get started. This fork is more comprehensive and opinionated, with the aim of requiring the minimum amount of configuration to get the plugin published.
The generated project uses the following sbt plugins:
- dwijnand/sbt-dynver - dynamically determines version numbers from git tags.
- dwijnand/sbt-travisci - sets the Scala and SBT versions from the Travis CI information.
- ohnosequences/sbt-github-release - publishes releases to GitHub.
- sbt/sbt-bintray - publishes releases to Bintray.
- sbt/sbt-pgp - creates signatures of the artifacts with GnuPG.
- Install sbt 1.0.0 or higher.
- Open a terminal at the parent directory for your new project.
- On the command line type:
sbt new BotTech/sbt-autoplugin.g8
- Follow the instructions in
SETUP.md
.
Credit to these Open Source projects:
- dwijnand/sbt-dynver
- dwijnand/sbt-travisci
- ohnosequences/sbt-github-release
- sbt/sbt-bintray
- sbt/sbt-pgp
Special thanks to:
- GitHub for hosting the git repository.
- Lightbend for Scala and sbt.
- scalacenter for Scala.
- Travis CI for running the build.
- All the other contributors who made this project possible.
This Giter8 template is distributed under a CC0 1.0 Universal.