Deprecation regarding usage of BuildSrc in gradle settings

Hello dear Gradle community,

I just started out using gradle and use the buildSrc concept to declare constants for dependencies and their versions to conveniently use the same versions of dependecies in sub projects in a multi project scenario.

I also used it to have to have constants for projects which need to be imported by other projects. When accesing those constants form gradle setting I got a deprecation warning and found the info given below.

Will the whole buildsrc concept ne abondend for something else or does the deprecation only concern the use in gradle setttings?


–> BuildSrc usage in Gradle settings

Access to the buildSrc project and its dependencies in gradle settings scripts is now deprecated. This is due to plans to make initialization of gradle builds more efficient.

This will become an error in Gradle 6.0