getNextMajor

Deprecated

This method only kept here to maintain binary compatibility.

Deprecated

will be removed in Gradle 9.