Looks like this plugin: can be of a help to solve my issue (substitute ${key} occurrences in source files and then put results to target-folder).

Performance is cool. I just had to re-compile that plugin from sources for SBT 0.13 (the latest supported version targeted SBT 0.12). See here

Anyway I'm still interested why simple replacements are slow in my case.

Related Query

More Query from same tag