sbt-editsource
sbt-editsource copied to clipboard
private resolution file as input?
From your README.md and website instructions it is unclear to me how to do substitutions off of a private file, that is a file that is not under source control. Ideally, i would like to specify the file containing key-values and its location so that resolution happens on all declared tokenized files off of that key-value (say, properties) file.
It looks like this is not the intent of this plugin, but wanted to make sure.
In case was not clear, i am looking for the same functionality of settings.xml in Maven. That file lives in ~/.m2, in the user directory, not under source control, and contains private properties that are substituted by Maven at build time before resolving tokenized resource files into target, like your plugin does.
As i understand from your instructions, the key-value pairs here are only in build.sbt, which is under source control.
Right now, the substitutions can only appear in build.sbt
. It's unlikely that I'll be fixing that any time soon. I will leave this issue open as a possible enhancement, though.