
Remove fallback code since we now require Gradle 6.8 and can depend on the `getMainClass` method being present. Closes gh-26794
Remove fallback code since we now require Gradle 6.8 and can depend on the `getMainClass` method being present. Closes gh-26794