Reputation: 13686
I would like to create an sbt task, that would be equivalent to run -Dfoo=bar
. (in case you have never used it, -D
just injects a configuration override). How should that be done?
In case it matters, only sbt 13.7 and up...
Upvotes: 1
Views: 780
Reputation: 6092
I think you're after Input Tasks, I've never used them before but I'm pretty sure that'll give you everything and more for what you're after.
Upvotes: 1