Deprecation of build-file for specifying a custom build file location in 8.0

Specifying custom build file location has been deprecated. This is scheduled to be removed in Gradle 8.0. Consult the upgrading guide for further information: Upgrading your build from Gradle 7.x to the latest

There doesn’t seem to be a valid alternative. We have large numbers (hundreds) of gradle integration testing scripts that are run using -b or --build-file.