sbt plugin best practices certified.
- Be gone plugin config. Come hither task dependent keys.
Below is a migration table for the new style of accessing np keys
np -> np
np:check -> scout(for np) or (scout in (SomeConfig, np))
np:usage -> usage(for np) or (usage in (SomeConfig, np))
np:defaults -> defaults(for np) or (defaults in (SomeConfig, np))
- New
NpKeys
module for accessing settings
To access or override settings, use the NpKeys
module
(NpKeys.defaults in (Compile, NpKeys.np)) ~= {
_.copy(org => "com.foo")
}
- Scripted plugin tested
yep, scripted tests are great
- published for sbt 0.11.0 & 0.11.1
For now, this plugin is only built for 0.11 and 0.11.1, which are at this time the latest and greatest version of sbt.
Install with addSbtPlugin("me.lessis" % "np" % "0.2.0")
And include settings with seq(npSettings:_*)
For more info, see the project readme