scala/sbt-scala-module

keys should do the right autoPlugin dance

SethTisue opened this issue · 2 comments

so that e.g. this doesn't happen:

> show mimaPreviousVersion
[info] Some(1.0.6)
> set mimaPreviousVersion := None
<set>:1: error: not found: value mimaPreviousVersion
mimaPreviousVersion := None

(note set ScalaModulePlugin.mimaPreviousVersion := None works)

and that this isn't needed:

import ScalaModulePlugin._

@dwijnand describes the dance as "autoImport (or aliases, or mixed-in, or whatever)"

If the goal is to not need the import, we would also need to move some vals (like disablePublishing) inside the autoImport object.