scripted version trick

see
JamesEarlDouglas/xsbt-web-plugin@feabb2eb554940d9b28049bd0618b6a790d9e14
1