Issue #757: Bumped Codenarc to version v2.2.0#836
Conversation
|
The error is : @nrmancuso , We could suppress the java Illegal reflective access warnings to satisfy the CI |
|
Let’s find the compatibility matrix for groovy version/codenarc and answer two questions:
|
The latest codenarc version released is v3.4.0 which I have used at present.
I believe we require Groovy PS : the latest version of groovy is 4.0 |
This response does not answer either of my questions. Please find some compatibility matrix or other resource (release notes) that specifies this information. |
I couldn't find the compatibility matrix for either. The following is the info from release notes and docs : v3.4.0 Latest (codenarc release notes) The requirement of groovy 3 is evident in discussion at CodeNarc/CodeNarc#630 also. Please let me know if you require any other info that specifies with further clarity. |
|
<-- Not related to this Issue --> While browsing for the said info, I noticed that the checkstyle compatibility matrix page hasn't been updated since 2020. The highest version specified in the html is outdated through |
|
Still looking for an answer to:
|
2416c18 to
a7c0e7c
Compare
So, the versions from v3.0.0 and higher reproduce the error mentioned in #836 (comment) The highest possible version that doesn't give this error is v2.2.0 Could these be suppressed ? |
|
@nrmancuso , please suggest |
We can just fix them, since we are just renaming variables |
a7c0e7c to
b1cee97
Compare
b1cee97 to
b3464af
Compare
@nrmancuso , Also, Could I help in any way regarding #836 (comment) ?? |
romani
left a comment
There was a problem hiding this comment.
Ok to merge, thanks a lot for your help
Aims to close Issue #757
The version of codenarc being used was outdated through
v1.5As part of the commit, I have bumped
codenarc versionto highest compatiblev2.2.0var_names in file diff.groovy were found violating VariableName rule. These have been modified to adhere to checkstyle rules.
Prior changes :
After changes :