Closed 3flex closed 4 years ago
I wonder @3flex, if you had any problems with my last remarks and need some assistance to move it forward?
Just very short on time at the moment! I'll try to get to it in the next couple of days, I still intend to update based on your feedback.
I merged it manually with some minor adjustments. Thanks for your work!
@3flex FYI, CodeNarc currently (as of 1.5) doesn't work with Java 14 (https://github.com/gradle/gradle/issues/12646).
Closes #78
There are 6 CodeNarc rulesets that weren't applied:
A few specific rules have been excluded as well - DuplicateStringLiteral and LineLength would be easy to fix, I just didn't have the time today. JUnitPublicNonTestMethod and MethodName caused problems in the test sourcesets, and UnnecessaryGetter looked like it was warning on usage of the Gradle property API, and making the suggested changes would have caused compilation failures.
Just a warning that I've had minimal exposure to Groovy outside of Gradle (and its sources) and have never used CodeNarc before, so this will require a careful review. I'm happy to revert any of these changes or disable any rules that don't fit with the project's code style.