Fix build-scan-capture.init.gradle so that it applies to versions 3.+, and include this version in test coverage.