These are chat archives for sbt/sbt
A relaxed chat room about sbt (That interactive build tool). For getting help on sbt, we encourage people to document it on Stackoverflow or subscribing to Lightbend subscription.
checkStyle) that I want to depend on another one (
scalastyleis only defined in
Test, and the only way I've found to define my
checkStylein a way that behaved as intended was to wrap its definition in calls to
checkStyletasked is meant to be extended by plugins further down, which will also need to jump through the same hoops rather than just say, say,
checkStyle := checkStyle.dependsOn(scalafmt)
scalastyle, if not defined for the current scope, defaults to
compile:scalastyle. Or to somehow have "downstream" tasks automatically be limitted to the scopes
scalastyleis defined in
inConfigs(Compile, Test)(...)syntax would at least alleviate some of the pain
publishif you declare
sbtPlugin := true, or something like that?