Getting Task ‘$’ not found in root project ‘gradle-plugins’ after i upgraded from 3.5 Gradle to 5.0 Gradle version. The same build works fine with 3.5
Hard to guess without you providing any information, unfortunately my crystal ball is at the repair shop right now.
But as a general rule, I recommend not skipping major versions.
First update to the last version within the current major version.
Then remove all deprecation warnings, that should ensure for the most part that the build is working with the next major version.
Then update to the latest version of the next major version and repeat.
By jumping from 3.x to 5.x directly, you miss the deprecation warnings added until 4.10.3 that will cause your build to fail with 5.x.