My application, which is built using SBT, requires certain settings specific to the host system (and may not even have reasonable defaults). In my particular case, I'm talking about the location of a piece of third-party software with dependent libraries needed for assembly (although there are many other use cases for this). These settings should not be versioned, so they cannot go into build.sbt or project/build.scala , which usually should be in VCS and apply to all project checks.
In older versions of SBT (back to 0.7.7), it was possible to define properties with default settings that can be set by the user in the build.properties file (this code still exists in the SBT source, by the way, but it does not seem to be applicable ) This would do the job for me (despite the lack of strong typing), but no longer an option. I wonder what a more modern alternative is for this supposedly common task.
source share