Commit faa132a
committed
Improved: Update codenarc version to 3.6.0 (OFBIZ-13301)
Currently, codenarc 3.5.0 doesn't support groovy 4 and if we use java 17 syntax like direct switch, the file failed and not analysed :
****
switch (myVar) {
case x -> return true
}
****
To fix, we update codenarc to the latest version with groovy4 support : CodeNarc-3.6.0-groovy-4.0.jar [1]
[1] https://github.com/CodeNarc/CodeNarc/releases/download/v3.6.0/CodeNarc-3.6.0-groovy-4.0.jar1 parent 7dba6ac commit faa132a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
0 commit comments