Cannot update gradle version

I’m having the same issue as the post below.

I have checked for checkstyle issues but I can’t really find any. Is there something else I’m doing wrong?

Try this if this can help

Did try. The issue is that ./gradlew build does not report any check style errors in any files.

then what issue it is reporting

Issue fixed. I was running the wrong commands. Thank you!